From the course: Windows Server 2019: Deploying Containers
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Manage container storage - Windows Server Tutorial
From the course: Windows Server 2019: Deploying Containers
Manage container storage
- [Instructor] With container storage, whether it's in Windows or Linux, when a new container is created from an image, and data is modified inside the container layer, once that container's writable layer is gone and the container ceases to exist, that data also ceases to exist. What that means is that it's important to understand persistent storage with containers. You have a couple of different options to help you. The first one is bind mounts. With bind mounts, the host shares a directory with a container, however, non-Docker processes can modify anything in that directory. So, that is an area to be cautious about. There is a new Windows feature with Windows Server called SMB Global Mapping, which allows you to do a bind mount to an SMB share. So that's actually really powerful. Could be very useful. Another persistent container storage option is called named volumes. With named volumes you can create a volume by name and use it multiple times on the same host. Data is then stored…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
Control containers in Windows6m 20s
-
Manage images5m 54s
-
Understand tags3m 17s
-
Manage container networking8m 50s
-
Manage container storage9m 22s
-
Orchestrate Windows Containers with Swarm8m 31s
-
Orchestrate Windows Containers with Kubernetes2m 25s
-
Use Dockerfiles4m 46s
-
Enable Hyper-V Containers12m 54s
-
Run Windows Nano Server in a container3m 38s
-
Run Linux containers in Windows4m 33s
-
-
-
-