Part 6: Connect A Windows Container To A Shared Storage With Docker

In this article, I’ll show you how I create a storage volume using Docker and assign it to a new Windows Container.

For previous articles In the series check:

Using Docker Volumes with Docker Container allows us to spin new container and use shared storage to keep configuration and data files.

docker volume create appvolume

docker volume ls

Docker run --name test01 -it -v c:\programdata\docker\volumes\data01:c:\data01 microsoft/windowsservercore cmd

To view the actual volume on the Docker host:

C:\ProgramData\docker\volumes

Leave a Reply