如何为Windows容器添加新的磁盘驱动程序? [英] How to add a new disk driver for windows container?

查看:68
本文介绍了如何为Windows容器添加新的磁盘驱动程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望我的容器中有两个磁盘驱动程序,如C:和D:,但Windows容器默认只有c:驱动程序,如何添加新的磁盘驱动程序D:for container?

I want to have two disk driver in my container like C: and D:, but the windows container default only have c: driver, how can I add a new disk driver D: for container?

推荐答案

Docker不是虚拟机,它共享操作系统内核和驱动器,你可以使用这里描述的Dockme概念:

Docker is not a Virtual Machine, it shares the OS kernel and drives, you can use Docker concept of Volumes as described here:

https://docs.docker.com/engine/tutorials/dockervolumes/

https://docs.docker.com/engine/tutorials/dockervolumes/

(在页面上搜索Windows)

(search Windows on the page)


这篇关于如何为Windows容器添加新的磁盘驱动程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆