mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-02-24 05:20:02 +08:00
Update build.sh
This commit is contained in:
parent
0c87ce9ae7
commit
56126fccd8
2
build.sh
2
build.sh
@ -3,4 +3,4 @@ set -e
|
||||
|
||||
docker build --tag dsm .
|
||||
docker images dsm:latest --format "{{.Repository}}:{{.Tag}} -> {{.Size}}"
|
||||
docker run --rm -it --name dsm --device="/dev/kvm:/dev/kvm" --device="/dev/net/tun:/dev/net/tun" --cap-add NET_ADMIN -p 80:5000 -p 443:5001 -p 5000:5000 -p 5001:5001 -v "${PWD}/img:/storage" docker.io/library/dsm
|
||||
docker run --rm -it --name dsm --device="/dev/kvm:/dev/kvm" --device="/dev/net/tun:/dev/net/tun" --cap-add NET_ADMIN -p 80:5000 -p 443:5001 -p 5000:5000 -p 5001:5001 docker.io/library/dsm
|
||||
|
Loading…
x
Reference in New Issue
Block a user