Skip to Main Content
Windows Server 2022 & Powershell All-in-One For Dummies
book

Windows Server 2022 & Powershell All-in-One For Dummies

by Sara Perrott
March 2022
Beginner content levelBeginner
784 pages
18h 19m
English
For Dummies
Content preview from Windows Server 2022 & Powershell All-in-One For Dummies

Chapter 4

Configuring Docker and Containers on Windows Server 2022

IN THIS CHAPTER

check Introducing Dockerfile

check Applying custom metadata to containers and other objects

check Configuring containers

check Configuring the Docker daemon with daemon.json

Installing containers is the easy part, and you can certainly have some fun while doing it. In an enterprise environment, however, you’ll be asked to configure the containers so that they can do useful things and provide value to the business.

In this chapter, you find out how to configure and customize your containers so that your organization can really reap the benefits of containerization.

Working with Dockerfile

A dockerfile allows you to specify how a container should be built. It identifies the container image that you’ll use and contains any commands that you may want to run. The changes that you make to the container image are saved as a layer on top of the original container image.

When you create a dockerfile on Windows, you need to ensure that it does not have a file extension. You can do this by saving it as "dockerfile" with the quotes ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Windows PowerShell Scripting - Third Edition

Mastering Windows PowerShell Scripting - Third Edition

Chris Dent

Publisher Resources

ISBN: 9781119867821Purchase Link