You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »


buildDocker.sh
CONTAINER=ubuntu16
IMAGE=ubuntu:16.04
DIR=`pwd -P`

docker stop $CONTAINER
docker rm $CONTAINER
#docker rmi $IMAGE

CMD="tail -f /dev/null"

docker run -d \
--name $CONTAINER \
--restart=always \
$IMAGE \
$CMD



  • No labels