#!/bin/sh
set -e
set -x

DOCKER_GRAPHDRIVER=${DOCKER_GRAPHDRIVER:-overlay}
EXEC_DRIVER=${EXEC_DRIVER:-native}

# Set IP address in /etc/hosts for localregistry
IP=$(ifconfig eth0|grep "inet addr:"| cut -d: -f2 | awk '{ print $1}')
echo "$IP localregistry" >> /etc/hosts

sh install_certs.sh localregistry

docker --daemon --log-level=debug \
	--storage-driver="$DOCKER_GRAPHDRIVER" --exec-driver="$EXEC_DRIVER" 2> /var/log/docker.log

#!/bin/sh
set -e
set -x

DOCKER_GRAPHDRIVER=${DOCKER_GRAPHDRIVER:-overlay}

# Set IP address in /etc/hosts for localregistry
IP=$(ifconfig eth0|grep "inet addr:"| cut -d: -f2 | awk '{ print $1}')
echo "$IP localregistry" >> /etc/hosts

sh install_certs.sh localregistry

docker --daemon --log-level=debug \
	--storage-driver="$DOCKER_GRAPHDRIVER" 2> /var/log/docker.log

Remove use of deprecated exec driver flag
Remove use of deprecated exec driver flag

Signed-off-by: Derek McGowan <e1c79a582b6629e6b39e9679f4bb964d25db4aa8@mcgstyle.net> (github: dmcgowan)
