BASIC DOCKER COMMANDS

docker version - Clients and servers version of Docker

docker image - Lists all docker images

docker run (Image name/ID) - Runs a command in new container

docker run (Image name/ID) - Runs a command in new container

docker ps - Lists all running container

docker start (container Name/ID) - starts the container

docker kill (container Name/ID) - stops a running container

docker rm (container Name/ID) - deletes a stopped container

docker ps -a - show all containers

docker ps -l - show latest created container

docker pull - pulls image from register

docker exec - runs a command in runtime container

docker prune - removes all unused container, images etc.

docker ls - lists all container

next