List of 20 docker commands and their use cases with examples.
docker pull – used to pull images from the docker repository(hub.docker.com) docker run – used to create a container from an image docker ps – used to list the running containers docker ps -a – used to show all the running and exited containers docker exec – used to access the running container docker stop – stops a running container docker kill – kills the container by stopping its execution immediately. docker commit – creates a new image of an
Read more