Hello Docker 1

1. Download and install Docker

2. Run a Hello World container

$ docker run busybox echo “Hello World”

$ docker run busybox echo “hello world”
Unable to find image ‘busybox:latest’ locally
latest: Pulling from library/busybox
ea97eb0eb3ec: Pull complete
Digest: sha256:bde48e1751173b709090c2539fdf12d6ba64e88ec7a4301591227ce925f3c678
Status: Downloaded newer image for busybox:latest
hello world

In Depth: What is happening behind the scene?

Docker Hello World flow

Unable to find image ‘busybox:latest’ locally

latest: Pulling from library/busybox
ea97eb0eb3ec: Pull complete
Digest: sha256:bde48e1751173b709090c2539fdf12d6ba64e88ec7a4301591227ce925f3c678
Status: Downloaded newer image for busybox:latest

hello world

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store