From c010ce3bbd6c6a167ccc0ab3ca3cebc7faf5b2a5 Mon Sep 17 00:00:00 2001 From: Kroese Date: Thu, 9 May 2024 11:16:41 +0200 Subject: [PATCH] docs: Multiple disks --- readme.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/readme.md b/readme.md index 0cb5646..d1a6c20 100644 --- a/readme.md +++ b/readme.md @@ -246,6 +246,19 @@ docker run -it --rm --name windows -p 8006:8006 --device=/dev/kvm --cap-add NET_ Please note that in this mode, the container and Windows will each have their own separate IPs. The container will keep the macvlan IP, and Windows will use the DHCP IP. +* ### How do I add multiple disks? + + To create additional disks, modify your compose file like this: + + ```yaml + environment: + DISK2_SIZE: "32G" + DISK3_SIZE: "64G" + volumes: + - /home/example:/storage2 + - /mnt/data/example:/storage3 + ``` + * ### How do I pass-through a disk? It is possible to pass-through disk devices directly by adding them to your compose file in this way: