move new directory

This commit is contained in:
Sukchan Lee 2018-02-17 15:15:17 +09:00
parent 2d72eaa24d
commit 38cccb8a85
3 changed files with 15 additions and 19 deletions

View File

@ -1,18 +0,0 @@
#
# NextEPC Dockerfile
#
# https://github.com/acetcom/nextepc
#
# Pull base image.
FROM ubuntu:latest
# Install NextEPC.
RUN \
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv F26B05AF && \
echo 'deb http://ppa.launchpad.net/acetcom/nextepc/ubuntu xenial main' > /etc/apt/sources.list.d/nextepc.list && \
apt-get update && \
apt-get install -y nextepc
# Define working directory.
WORKDIR /root

View File

@ -1,6 +1,11 @@
NextEPC docker
WebUI & MongoDB
===========================================
* docker-compose up
Ubuntu Package
===========================================
* cd sample
* docker build -t nextepc .
* docker run --net=host --hostname nextepc -ti --name nextepc --privileged --cap-add=SYS_ADMIN -e "container=docker" -v /sys/fs/cgroup:/sys/fs/cgroup -v $PWD:/mnt nextepc /sbin/init
* docker exec -it /bin/bash

View File

@ -0,0 +1,9 @@
FROM ubuntu:16.04
RUN \
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv F26B05AF && \
echo "deb http://ppa.launchpad.net/acetcom/nextepc/ubuntu xenial main" > /etc/apt/sources.list.d/nextepc.list && \
apt-get update && \
apt-get install -y nextepc
WORKDIR /root