mirror of
https://github.com/AuxXxilium/arv-v-dsm.git
synced 2024-11-23 23:10:58 +07:00
Update readme.md
This commit is contained in:
parent
e4038aa125
commit
9dd44e012f
36
readme.md
36
readme.md
@ -27,24 +27,7 @@ A docker container of Virtual DSM v7.2
|
||||
- MacOS (untested)
|
||||
- Windows (untested)
|
||||
|
||||
## Using the container
|
||||
|
||||
Via `docker run`:
|
||||
|
||||
```bash
|
||||
$ docker run --rm -it \
|
||||
--name dsm \
|
||||
-e DISK_SIZE=16G \
|
||||
-e RAM_SIZE=512M \
|
||||
-p 80:5000 \
|
||||
-p 443:5001 \
|
||||
-p 5000:5000 \
|
||||
-p 5001:5001 \
|
||||
--cap-add NET_ADMIN \
|
||||
--device="/dev/kvm:/dev/kvm" \
|
||||
--device="/dev/net/tun:/dev/net/tun" \
|
||||
kroese/virtual-dsm:latest
|
||||
```
|
||||
## How to use
|
||||
|
||||
Via `docker-compose.yml`:
|
||||
|
||||
@ -69,3 +52,20 @@ services:
|
||||
- 5001:5001
|
||||
restart: on-failure
|
||||
```
|
||||
|
||||
Via `docker run`:
|
||||
|
||||
```bash
|
||||
$ docker run --rm -it \
|
||||
--name dsm \
|
||||
-e DISK_SIZE=16G \
|
||||
-e RAM_SIZE=512M \
|
||||
-p 80:5000 \
|
||||
-p 443:5001 \
|
||||
-p 5000:5000 \
|
||||
-p 5001:5001 \
|
||||
--cap-add NET_ADMIN \
|
||||
--device="/dev/kvm:/dev/kvm" \
|
||||
--device="/dev/net/tun:/dev/net/tun" \
|
||||
kroese/virtual-dsm:latest
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user