1. docker pull \<image_name\>:
--> Description: Pulls a Docker image from a registry, such as Docker Hub.
--> Hashtags: #DockerPull #ContainerImages
2. docker run \<options\> \<image_name\>:
--> Description: Runs a Docker container based on a specified image.
--> Hashtags: #DockerRun #Containerization
3. docker ps:
--> Description: Lists running containers.
--> Hashtags: #DockerPS #ContainerManagement
4. docker ps --> a:
--> Description: Lists all containers, including stopped ones.
--> Hashtags: #DockerContainers #ContainerManagement
5. docker stop \<container_id\>:
--> Description: Stops a running container.
--> Hashtags: #DockerStop #ContainerManagement
6. docker rm \<container_id\>:
--> Description: Removes a stopped container.
--> Hashtags: #DockerRemove #ContainerManagement
7. docker images:
--> Description: Lists Docker images on the local system.
--> Hashtags: #DockerImages #ImageManagement
8. docker rmi \<image_name\>:
--> Description: Removes a Docker image.
--> Hashtags: #DockerRemoveImage #ImageManagement
9. docker build \<path/to/Dockerfile\>:
--> Description: Builds a Docker image from a Dockerfile.
--> Hashtags: #DockerBuild #ImageCreation
10. docker--> compose up:
--> Description: Starts containers defined in a Docker Compose file.
--> Hashtags: #DockerCompose #ContainerOrchestration
11. docker exec --> it \<container_id\> \<command\>:
--> Description: Executes a command inside a running container.
--> Hashtags: #DockerExec #ContainerManagement
12. docker logs \<container_id\>:
--> Description: Displays the logs of a container.
--> Hashtags: #DockerLogs #ContainerManagement
13. docker network ls:
--> Description: Lists Docker networks.
--> Hashtags: #DockerNetworks #Networking
14. docker volume ls:
--> Description: Lists Docker volumes.
--> Hashtags: #DockerVolumes #StorageManagement
15. docker--> compose down:
--> Description: Stops and removes containers defined in a Docker Compose file.
--> Hashtags: #DockerComposeDown #ContainerOrchestration
16. docker info:
--> Description: Displays Docker system--> wide information.
--> Hashtags: #DockerInfo #SystemInfo
17. docker stats:
--> Description: Displays real--> time usage statistics for containers.
--> Hashtags: #DockerStats #ContainerManagement
18. docker login:
--> Description: Logs in to a Docker registry.
--> Hashtags: #DockerLogin #RegistryAccess
19. docker push \<image_name\>:
--> Description: Pushes a Docker image to a registry.
--> Hashtags: #DockerPush #RegistryAccess
20. docker swarm init:
--> Description: Initializes a Docker swarm to create a cluster of Docker nodes.
--> Hashtags: #DockerSwarm #ContainerOrchestration
No comments:
Post a Comment
Thank you for Commenting Will reply soon ......