Using Docker client

Now that we have provisioned virtual machines and ensured that Docker infrastructure is available on them, it's time to focus on the myContainervm machine a Windows Server 2016 with Container on Azure that was provisioned using PowerShell. Docker client is used for interacting with Docker daemon by sending commands and arguments. Docker client is used for all Container, image, and network related operations.

Executing the docker command on the cmd command line or PowerShell.exe will show all Docker commands. This is shown here:

PS C:> docker
Usage: docker [OPTIONS] COMMAND [arg...]
       docker [ --help | -v | --version ]
A self-sufficient runtime for Containers.
 --config=%USERPROFILE%.docker Location of client config file ...

Get DevOps with Windows Server 2016 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.