Windows 7 Docker文件安装位置为空

时间:2018-10-22 13:32:46

标签: docker

在Windows 7上使用VirtualBox,我使用此命令在文件夹C:/TeamCity

中创建了一个容器
docker run -it --name teamcity-server-instance -v Data:/data/teamcity_server/datadir -v Logs:/opt/teamcity/logs -p 8111:8111 jetbrains/teamcity-server

C:/TeamCity是VirtualBox中的共享文件夹。 TeamCity运行良好,但是我无法确定文件的保存位置。 C/TeamCity/Logs为空。

检查Docker包含以下内容:

"Mounts": [
            {
                "Type": "volume",
                "Name": "Data",
                "Source": "/mnt/sda1/var/lib/docker/volumes/Data/_data",
                "Destination": "/data/teamcity_server/datadir",
                "Driver": "local",
                "Mode": "z",
                "RW": true,
                "Propagation": ""
            },
            {
                "Type": "volume",
                "Name": "Logs",
                "Source": "/mnt/sda1/var/lib/docker/volumes/Logs/_data",
                "Destination": "/opt/teamcity/logs",
                "Driver": "local",
                "Mode": "z",
                "RW": true,
                "Propagation": ""
            }
        ],

我假设"/mnt/sda1/var/lib/docker/volumes/Data/_data"在VirtualBox 192.168.99.100计算机上,但是我如何知道它在Windows物理主机上本地映射的位置?

0 个答案:

没有答案