2019-09-13 10:35:38 +02:00
|
|
|
docker stop py2-kms
|
|
|
|
docker rm py2-kms
|
2019-11-18 16:30:08 +01:00
|
|
|
docker run -it -d --name py2-kms \
|
2019-03-29 14:46:17 +01:00
|
|
|
-p 8080:8080 \
|
|
|
|
-p 1688:1688 \
|
|
|
|
-e IP=0.0.0.0 \
|
|
|
|
-e PORT=1688 \
|
2019-09-13 10:35:38 +02:00
|
|
|
-e CLIENT_COUNT=30 \
|
2019-03-29 14:46:17 +01:00
|
|
|
-e SQLITE=true \
|
2019-09-13 10:35:38 +02:00
|
|
|
-e HWID=RANDOM \
|
2019-03-29 14:46:17 +01:00
|
|
|
-e LOGLEVEL=INFO \
|
|
|
|
-e LOGFILE=/var/log/py2-kms.log \
|
2019-09-13 10:35:38 +02:00
|
|
|
-e LOGSIZE=2 \
|
2019-03-29 14:46:17 +01:00
|
|
|
-v /etc/localtime:/etc/localtime:ro \
|
|
|
|
-v /var/log:/var/log:rw \
|
|
|
|
--restart unless-stopped pykms/pykms:py2-kms
|