This tutorial will help you to get started with docker. This post is particularly for beginners who are eager to know how to start with amazing docker experience. Let's Get Started.
In this section, we are going to use "busybox" container to play around some docker commands. Let's run this command, Type docker pull busybox This pull command fetches an image from docker hub and stores it in our system.
Now, if you want to see all the images on your system, go for this command: Type docker images
As you can see an image we just pulled from docker registry, we are going to run container from this "busybox" image. Type docker run busybox
Don't FREAK-out! Nothing happened, but there is nothing wrong with your set up. Let's understand what actually happened when we ran this command. First, docker tried to find "busybox" image, loads up a container for an image, then runs commands we have provided in that container. Here, we didn't provide any command so container booted up, does nothing, and exited. Lets provide a command along with run command. Type docker run busybox echo "howdy from busybox"