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 7

Container Storage

IN THIS CHAPTER

check Introducing container storage

check Creating a volume inside of a container

check Working with persistent volumes

The last chapter of this book covers another foundational topic of computing: storage. Creating containers is fine, but sometimes you need to add storage to your individual container images. Maybe you need to create a new volume inside the container, or maybe you just want to add external storage so that the container has a defined area to copy files from when it’s launching from a dockerfile.

This chapter is all about container storage. I cover what kinds of storage are available and why you should (or shouldn’t) use a type of storage with containers.

Getting Acquainted with Container Storage

Storage in Windows containers is referred to as layer storage because the changes being made to a container are a layer on top of the base container image. Layers are stored by default within the image and windowsfilter directories located under C:\ProgramData\docker.

Tip You can change the storage location by putting a data-root entry into the Docker ...

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