Windows Containers can be managed using Docker CLI and PowerShell. Docker provides a lot of commands and options to automate most common activities such as creation, update, publishing, and deletion of images and containers. At this point, PowerShell commands for working with Windows Server Containers are still in development, so in this chapter we will be learning Docker commands only. Irrespective of the language choice, be it Docker CLI or PowerShell, communication with local or remote Docker daemons happens using a common REST-based API called Docker Remote API. This also means that you can build your own management interface using your favorite languages that interact with the Docker API.
This chapter helps you get acquainted by providing sample usage for the most common commands and attributes for creating Windows Server Containers and images using Docker CLI. In this chapter...