Setup Docker

Setting up your computer

check official documentation for installation steps

Once you are done installing Docker, test your Docker installation by running the following:

➜  ~ docker run hello-world
​Hello from Docker.
This message shows that your installation appears to be working correctly....

HELLO WORLD

Playing with ubuntu

To get started, let's run the following in our terminal:

➜  ~ docker pull ubuntu
...

The pull command fetches the ubuntu image from the Docker registry and saves it to our system. You can use the docker images command to see a list of all images on your system.

➜  ~ docker images 
REPOSITORY                                     TAG                   IMAGE ID       CREATED        SIZE
ubuntu                                         latest                2b4cba85892a   32 hours ago   72.8MB

Last updated