Just a list of frequently-used Docker CLI commands.
docker build [OPTIONS] PATH
docker run [OPTIONS] IMAGE [COMMAND] [ARG...]
docker stop [OPTIONS] CONTAINER [CONTAINER...]
These are the logs from a Docker container that runs an application.
docker logs CONTAINER_ID
SOURCE_IMAGE is the name of an image on the current machine, TARGET_IMAGE is the repository, name, and version of an image.
docker tag SOURCE_IMAGE[:TAG] TARGET_IMAGE[:TAG]
Login to DockerHub
docker push NAME[:TAG]
docker pull NAME[:TAG]