Commands used in standard docker workflow
docker build
Build Docker Image from Dockerfile
docker run
- Start a Docker Container from Docker Image
- Flag Cheatsheet
docker push
- Push a Docker Image to a central repo
docker pull
- Download a Docker Image from a central repo to local machine
Debugging Commands
docker logs <CONTAINER_ID>
Get the log output of the Docker Container
docker ps
Obtain the information of running Docker Container
Other useful commands
docker exec
- Execute a command in a running container
- Flag Cheatsheet
docker rm -f <CONTAINER_ID>
- Remove a Docker Container forcefully