Update readme.md

This commit is contained in:
Kroese 2023-03-28 05:14:21 +02:00 committed by GitHub
parent c96eda6c6f
commit 9768d3dfc6

View File

@ -14,7 +14,7 @@ virtual-dsm
[Docker Pulls Count]: https://img.shields.io/docker/pulls/kroese/virtual-dsm.svg?style=flat [Docker Pulls Count]: https://img.shields.io/docker/pulls/kroese/virtual-dsm.svg?style=flat
[dsm-docker-hub]: https://hub.docker.com/r/kroese/virtual-dsm [dsm-docker-hub]: https://hub.docker.com/r/kroese/virtual-dsm
A docker container that runs Synology's Virtual DSM v7. A docker container with Synology's Virtual DSM v7.1
## Using the container ## Using the container
@ -24,6 +24,7 @@ Via `docker run`:
$ docker run --rm -it \ $ docker run --rm -it \
--name virtual-dsm \ --name virtual-dsm \
-p 5000:5000 \ -p 5000:5000 \
-p 5001:5001 \
-e DISK_SIZE=16G \ -e DISK_SIZE=16G \
-e RAM_SIZE=512M \ -e RAM_SIZE=512M \
--cap-add NET_ADMIN \ --cap-add NET_ADMIN \
@ -51,6 +52,7 @@ services:
- /dev/net/tun - /dev/net/tun
ports: ports:
- 5000:5000 - 5000:5000
- 5001:5001
environment: environment:
DISK_SIZE: "16G" DISK_SIZE: "16G"
RAM_SIZE: "512M" RAM_SIZE: "512M"