Docker Commands
docker run - run a container from an imagedocker pull - pull an image from a registrydocker push - push an image to a registrydocker build - build an image from a Dockerfiledocker ps - list running containersdocker stop - stop a running containerdocker start - start a stopped containerdocker restart - restart a containerdocker logs - show the logs of a containerdocker exec - execute a command inside a running containerdocker images - list available imagesdocker rm - remove a containerdocker rmi - remove an imagedocker inspect - show information about a containerdocker network create - create a network for containers to communicatedocker network connect - connect a container to a networkdocker network disconnect - disconnect a container from a networkdocker port - show the mapped ports of a containerdocker cp - copy files between a container and the hostdocker commit - create a new image from a container's changesdocker login - log in to a registrydocker logout - log out of a registrydocker tag - tag an image with a new namedocker export - export the contents of a container as a tar archivedocker import - create a new image from a tar archivedocker save - save an image as a tar archivedocker load - load an image from a tar archivedocker top - show the processes running inside a containerdocker stats - show resource usage statistics of containersdocker diff - show the changes made to a container's filesystemdocker events - show the events generated by Dockerdocker history - show the history of an imagedocker pause - pause a running containerdocker unpause - unpause a paused containerdocker kill - send a signal to a container to stop it abruptlydocker wait - wait for a container to exit and return its exit codedocker attach - attach to a running container's consoledocker buildx - build and push multi-platform imagesdocker compose - manage multi-container applications with Docker Composedocker swarm - create and manage a cluster of Docker nodesdocker volume create - create a named volume for persistent data storagedocker volume ls - list available volumesdocker volume rm - remove a named volumedocker system prune - remove all unused objects from Dockerdocker system df - show the usage of Docker objectsdocker system events - show the events generated by Docker on the systemdocker system info - show the system-wide information about Dockerdocker system inspect - show detailed information about Docker objectsdocker system logs - show the system logs of Dockerdocker system version - show the version of Docker installed on the system
No comments:
Post a Comment