Docker all commands
List of Important Docker commands :
1. πββοΈ `docker run` - Run a container from an image.
2. π `docker pull` - Pull an image from a registry.
3. π’ `docker push` - Push an image to a registry.
4. ποΈ `docker build` - Build an image from a Dockerfile.
5. π¦ `docker ps` - List running containers.
6. βΉοΈ `docker stop` - Stop a running container.
7. βΆοΈ `docker start` - Start a stopped container.
8. β»οΈ `docker restart` - Restart a container.
9. π `docker logs` - Show the logs of a container.
10. πΌ `docker exec` - Execute a command inside a running container.
11. πΌοΈ `docker images` - List available images.
12. ποΈ `docker rm` - Remove a container.
13. ποΈ `docker rmi` - Remove an image
14. π `docker inspect` - Show information about a container
15. π `docker network create` - Create a network for containers to communicate
16. β‘οΈ `docker network connect` - Connect a container to a network
17. β¬ οΈ `docker network disconnect` - Disconnect a container from a network
18. πͺ `docker port` - Show the mapped ports of a container
19. π `docker cp` - Copy files between a container and the host
20. π `docker commit` - Create a new image from a container's changes
21. π `docker login` - Log in to a registry
22. π `docker logout` - Log out of a registry
23. π·οΈ `docker tag` - Tag an image with a new name
24. π¦ `docker export` - Export the contents of a container as a tar archive
25. π¦ `docker import` - Create a new image from a tar archive
26. πΎ `docker save` - Save an image as a tar archive
27. π₯ `docker load` - Load an image from a tar archive
28. π `docker top` - Show the processes running inside a container
29. π `docker stats` - Show resource usage statistics of containers
30. π `docker diff` - Show the changes made to a container's filesystem
31. π `docker events` - Show the events generated by Docker
32. π°οΈ `docker history` - Show the history of an image
33. βΈοΈ `docker pause` - Pause a running container
34. βΆοΈ `docker unpause` - Unpause a paused container
35. βΉοΈ `docker kill` - Send a signal to a container to stop it abruptly
36. β³ `docker wait` - Wait for a container to exit and return its exit code
37. πΊ `docker attach` - Attach to a running container's console
38. ποΈ `docker buildx` - Build and push multi-platform images
39. π `docker compose` - Manage multi-container applications with Docker Compose
40. π `docker swarm` - Create and manage a cluster of Docker nodes
41. π¦ `docker volume create` - Create a named volume for persistent data storage
42. π¦ `docker volume ls` - List available volumes
43. ποΈ `docker volume rm` - Remove a named volume
44. π§Ή `docker system prune` - Remove all unused objects from Docker
45. π `docker system df` - Show the usage of Docker objects
46. π `docker system events` - Show the events generated by Docker on the system
47. βΉοΈ `docker system info` - Show the system-wide information about Docker
48. π `docker system inspect` - Show detailed information about Docker objects
49. π `docker system logs` - Show the system logs of Docker
50. π `docker system version` - Show the version of Docker installed on the system.