Technotes

Technotes for future me

Docker run in background

docker container run -it --rm \
    -v ${DIR}/../public_html:/usr/share/nginx/html:ro \
    -p 80:80 \
    -d \
    ${IMAGE}

docker container run -it  --restart=always --rm -v ${DIR}/../public_html:/usr/share/nginx/html:ro -p 80:80 -d icanhaz:latest
Last updated on 31 Jan 2021
Published on 14 Dec 2019
Edit on GitHub