Comments (4)
To create additional disk images, modify your compose file like this:要创建其他磁盘映像,请按如下方式修改撰写文件:
environment: DISK2_SIZE: "32G" DISK3_SIZE: "64G" volumes: - /home/example:/storage2 - /mnt/data/example:/storage3It will create a
data2.img
in/storage2
, etc.它将创建一个data2.img
in/storage2
等。
好的非常感谢!
from windows.
I do not completely understand your question. You are not wasting any disk? It uses a file called data.img
as the disk. And if you want to replace that file by another one, thats fine.
from windows.
I do not completely understand your question. You are not wasting any disk? It uses a file called
data.img
as the disk. And if you want to replace that file by another one, thats fine.我不完全理解你的问题。你没有浪费任何磁盘吗?它使用称为data.img
磁盘的文件。如果你想用另一个文件替换那个文件,那很好。
我需要的是新加一个data.img的磁盘文件而不是替换它,使用qemu-img创建多个磁盘驱动器而不是使用--device来挂载本机的物理磁盘。这样有什么好办法吗?
from windows.
To create additional disk images, modify your compose file like this:
environment:
DISK2_SIZE: "32G"
DISK3_SIZE: "64G"
volumes:
- /home/example:/storage2
- /mnt/data/example:/storage3
It will create a data2.img
in /storage2
, etc.
from windows.
Related Issues (20)
- [Bug]: RDP breaks after a while HOT 1
- for k8s how to change the windows version?
- i want mapping a port to host. what can i do? HOT 4
- Error while starting the container HOT 1
- [Feature]: Request for adding the feature of customizing the MAC address of the virtual machine HOT 2
- [Solved] Can not share host folder with Windows container HOT 7
- Container do not start after reboot HOT 1
- Cannot open and connect from macOS.
- [Question]: Windows Networks Prompt HOT 1
- Custom ISO HOT 1
- [Question]: windows.3788177408.iso (containing windows.base inside) windows.rom windows.vars ? Help me :) HOT 1
- [Question]: use a vhdx into docker container HOT 10
- Always stuck on page "Setup is starting"
- Error when installing Windows
- [Question]: USB Passthrough Multiple Devices with the same Vendor & Product ID
- [Question]: Working with Apache Guacamole
- [Question]: RAM_SIZE less than 1GB HOT 1
- [Question]: Is it possible to set environemnt variables IN WINDOWS directly from docker compose? HOT 2
- setting a costum resolution not working
- Cannot access shared folder using samba
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from windows.