Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 653 Bytes

Docker_CheatSheet.md

File metadata and controls

25 lines (16 loc) · 653 Bytes
    #Showing the Docker information
            docker info
            
    #Run the conatiner  
            docker container run <image name>

    #Stop the conatiner  
           docker stop <container id>

    #Search Docker images through CLI
            docker search nginx
    
    #Pull an image
            docker pull <image name>
            
    #List the images
            docker image ls

    #Remove an image
             docker rmi <image name>
            
    #Retagging Images
             docker tag <old image name> <new image name>