Docker Container Basics

Now that we are connected to our Azure VM we can start exploring Docker.

Docker Info

To make sure that the extension has successfully installed Docker on the machine, we can check whether Docker is installed by typing

docker info

as shown in Figure 2.12.

Image

FIGURE 2.12: Docker info output

Image Note

The following commands are executed on the Docker host via SSH. Therefore, they are exactly the same whether you are connecting to the Docker host from a Windows or Mac OS X machine.

The first two lines indicate that we do not ...

Get Microservices with Docker on Microsoft Azure™ (includes Content Update Program) now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.