Skip to content

Commit

Permalink
Merge pull request #297 from Wasiq08/add-new-docker-command
Browse files Browse the repository at this point in the history
add docker command
  • Loading branch information
Jahenr authored Mar 24, 2024
2 parents c234aeb + 0308dd7 commit 1329294
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions Docker_CheatSheet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#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>

0 comments on commit 1329294

Please sign in to comment.