Some useful docker commands:
docker image pull <host>:<port>/<image>:<version> | Pulls an image from a remote registry into the local repository. |
docker run --rm --entrypoint <program to start> --name <container> --detach <image> | Creates and starts the program in a new container, then leaves it running in the background. After sopping the container is removed. |
docker rm --force <container> | Stops the container immediately, then removes it. |
- Log in to post comments