mirror of
http://junepve.top:3000/chicrobot/README.git
synced 2026-10-29 20:51:29 +08:00
更新 c16_docker部署mcsmanager.md
This commit is contained in:
1 parent
451d02148a
commit
0a0c1040dc
1 file changed
+2
@@ -23,12 +23,14 @@ cd /home/ubuntu/mc
|
||||
## 启动容器
|
||||
```
|
||||
sudo docker run -v /etc/timezone:/etc/timezone:ro \
|
||||
--name mc-deamon \
|
||||
-v /etc/localtime:/etc/localtime:ro \
|
||||
-v /home/ubuntu/mc/daemon/data:/opt/mcsmanager/daemon/data \
|
||||
-v /home/ubuntu/mc/daemon/logs:/opt/mcsmanager/daemon/logs \
|
||||
-v /var/run/docker.sock:/var/run/docker.sock \
|
||||
-e MCSM_DOCKER_WORKSPACE_PATH=/home/ubuntu/mc/daemon/data/InstanceData \
|
||||
-p 24444:24444 \
|
||||
-p 25565:25565 \
|
||||
-d githubyumao/mcsmanager-daemon:v10.12.0
|
||||
```
|
||||
```
|
||||
|
||||
Reference in new issue
Block a user