To verify that your installation is successful, run the following command in your terminal console:
$ docker run -i -t ubuntu echo Hello World!
run command starts a container with the
ubuntu base image. Since this is the first time you are starting an
ubuntu container, the output of the container will be something like this:
Unable to find image 'ubuntu' locally Pulling repository ubuntu e54ca5efa2e9: Download complete 511136ea3c5a: Download complete d7ac5e4f1812: Download complete 2f4b4d6a4a06: Download complete 83ff768040a0: Download complete 6c37f792ddac: Download complete Hello World!
When you issue the
ubuntu command, Docker looks for the
ubuntu image locally, and it's not found, it will download ...