Low level docker cheatsheet

Submitted by Fekete Zoltán on Thu, 02/16/2023 - 12:34

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.