Sunday, 10 May 2020

Getting started with docker



Docker has 2 editions community edition(free) and enterprise edition (paid)


Select the os from docker website and download and install docker.
Once you install docker run
in powershell run below command
>Docker run hello-world


Docker run command is used to run an container


To find what all containers you can run go to docker hub.

once you use run command docker reuires internet and it will download from that dockerhum

you can find list of container


>docker ps  or docker list command


Stopping a container

>docker stop Name_of_Container


to stop docker service
>service docker stop
to Remove use docker -rm command
If you want to create your own image you should use docker files

No comments:

Post a Comment