aditimahabole / docker-help

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

To build image

image

To see running images

image

To stop running an image

image

image

Bind the port to outside of container

image

To Use terminal

  • when we run the above commnad we were not able to use that terminal again so we write "-d" means detached so now we are able to use terminal

image

Same port but Bind to different port outside the container

image

image

To stop conatiner

image

To name the running container

  • "--rm" container gets removed when stopped automatically , "--name" helps to name for our own convinience

image

Building Images with names

  • After "-t" write app-name:version . , "." is current directory

image

image

Remove Image

image

To see Images list

image

  • "-t" means tagging

image

After Updating something

image

image

image

image

image

About