vimwiki

Docker commands

docker restart <containerId> docker stop <containerId> docker logs <containerId>

run

to specify a port :

docker run -p <localPort>:<containerPort> <image>

-d detach from the shell

Remove

A container:
docker rm <containerId>

An image:
docker rmi <imageId>

Create image

docker build -t <name> <context>

context = path where to look for files

docker build -t docker-app1 .