Layering hostname/hosts (#5)

* Layering hostname/hosts

* Fix build

* Use origin files on new overlay
This commit is contained in:
Pascal Vizeli
2018-04-27 18:20:06 +02:00
committed by GitHub
parent 5a6b8c5bbe
commit e544c14d3d
8 changed files with 36 additions and 3 deletions

View File

@@ -55,11 +55,11 @@ mkdir -p /mnt/supervisor
mkdir -p /mnt/cli
# Run dockerd
dockerd -s overlay2 -g /mnt/docker 2> /dev/null &
dockerd -s overlay2 -g /mnt/docker &
DOCKER_PID=$!
DOCKER_COUNT=0
until docker info >/dev/null 2>&1; do
DOCKER_COUNT=0
if [ ${DOCKER_COUNT} -gt 30 ]; then
exit 1
fi