This commit is contained in:
Kroese 2023-04-03 19:33:53 +02:00 committed by GitHub
parent bef6a03dbb
commit c6ebc8dea2

View File

@ -75,8 +75,8 @@ $ docker run --rm -it \
By default it is 16GB, but you can modify the `DISK_SIZE` setting in your compose file: By default it is 16GB, but you can modify the `DISK_SIZE` setting in your compose file:
``` ```
environment: environment:
DISK_SIZE: "16G" DISK_SIZE: "16G"
``` ```
To create an empty disk with a maximum capacity of 8 terabyte you would use a value of `"8T"` for example. To create an empty disk with a maximum capacity of 8 terabyte you would use a value of `"8T"` for example.
@ -87,7 +87,7 @@ $ docker run --rm -it \
``` ```
volumes: volumes:
- /home/user/data:/storage - /home/user/data:/storage
``` ```
Just replace `/home/user/data` with the folder path you want to use for storage. Just replace `/home/user/data` with the folder path you want to use for storage.
@ -97,8 +97,8 @@ $ docker run --rm -it \
By default it installs vDSM 7.2, but if you want to use an older version you can add these lines to your compose file: By default it installs vDSM 7.2, but if you want to use an older version you can add these lines to your compose file:
``` ```
environment: environment:
URL: "https://global.synologydownload.com/download/DSM/release/7.0.1/42218/DSM_VirtualDSM_42218.pat" URL: "https://global.synologydownload.com/download/DSM/release/7.0.1/42218/DSM_VirtualDSM_42218.pat"
``` ```
You can also switch back and forth between versions this way without loosing your file data. You can also switch back and forth between versions this way without loosing your file data.