From the course: Docker for Windows

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Configuring container storage

Configuring container storage - Docker Tutorial

From the course: Docker for Windows

Start my 1-month free trial

Configuring container storage

- [Instructor] Whether you're using Windows containers or Linux containers with Docker it's important to understand how container storage works. And I could create a whole course on container storage because it can get very complex. But the first thing I want to point you to is this URL in the Microsoft documentation on container storage. It talks about how with Docker, when you download an image, that image is always read-only. You can build new images based on that image, but when you start a container from that image, the original image is never modified. There is a new read-write layer that's created, a new file system. It's called the Docker union file system. And if you make changes inside the container that you create those changes won't be written down to the image unless you create a new image. So if we go on down here, this documentation, the reason I'm pointing it out to you is because it covers what they call persistent volumes. The best way to store your important data is…

Contents