Common tasks

Build image from Dockerfile

docker build -t emilburzo/templater .

Push built image

docker push emilburzo/templater

Use the new image

docker pull emilburzo/templater
docker ps
docker stop d51c4429001c
docker rm d51c4429001c
docker run --restart=always -d emilburzo/templater

FAQ

Automatically start containers at host boot

docker run --restart=always -d myimage

Find container IP from the host

Get container id from docker ps

docker inspect <container id> | grep IPAddress