Docker-Command's

Docker important commands
The Ultimate Docker 50 commands

Docker-Command's Docker important commands The Ultimate Docker 50 commands

docker run - run a container from an image

docker pull - pull an image from a registry

docker push - push an image to a registry

docker build - build an image from a Docker file

docker ls - list running containers

docker stop - stop a running container

docker start - start a stopped container

docker restart - restart a container

docker logs - show the logs of a container

docker exec - execute a command inside a running container

docker images - list available images

docker rm - remove a container

docker rmi - remove an image

docker inspect - show information about a container

docker network create - create a network for containers to communicate

docker network connect - connect a container to a network

docker network disconnect - disconnect a container from a network

docker port - show the mapped ports of a container

docker cp - copy files between a container and the host

docker commit - create a new image from a container's changes

docker login - log in to a registry

docker logout - log out of a registry

docker tag - tag an image with a new name

docker export - export the contents of a container as a tar archive

docker import - create a new image from a tar archive

docker save - save an image as a tar archive

docker load - load an image from a tar archive

docker top - show the processes running inside a container

docker stats - show resource usage statistics of containers

docker diff - show the changes made to a container's filesystem

docker events - show the events generated by Docker

docker history - show the history of an image

docker pause - pause a running container

docker unpause - unpause a paused container

docker kill - send a signal to a container to stop it abruptly

docker wait - wait for a container to exit and return its exit code

docker attach - attach to a running container's console

docker buildx - build and push multi-platform images

docker compose - manage multi-container applications with Docker Compose

docker swarm - create and manage a cluster of Docker nodes

docker volume create - create a named volume for persistent data storage

docker volume ls - list available volumes

docker volume rm - remove a named volume

docker system prune - remove all unused objects from Docker

docker system df - show the usage of Docker objects

docker system events - show the events generated by Docker on the system

docker system info - show the system-wide information about Docker

docker system inspect - show detailed information about Docker objects

docker system logs - show the system logs of Docker