Commit 041b5909 authored by Kroese's avatar Kroese Committed by GitHub
Browse files

Disk space

parent d12d7000
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -77,13 +77,15 @@ docker run -it --rm -e "BOOT=http://www.example.com/image.iso" --device=/dev/kvm

  * ### How do I change the location of the data disk?

    To change the data disk's location from the default docker volume, include the following bind mount in your compose file and replace the path `/home/user/data` with the desired storage folder:
    To change the data disk's location from the default docker volume, include the following bind mount in your compose file:

    ```
    volumes:
      - /home/user/data:/storage
    ```

    Replace the example path `/home/user/data` with the desired storage folder.

  * ### How do I change the space reserved by the data disk? 

    By default, the entire disk space is reserved in advance. To create a growable disk, that only reserves the space that is actually used, add the following environment variable: