使用docker部署RustDesk的命令

sudo docker image pull rustdesk/rustdesk-server
sudo docker run --name hbbs -p 21115:21115 -p 21116:21116 -p 21116:21116/udp -p 21118:21118 -v `pwd`:/root -td --net=host rustdesk/rustdesk-server hbbs -r XXX.XXX.XXX.XXX:21116
sudo docker run --name hbbr -p 21117:21117 -p 21119:21119 -v `pwd`:/root -td --net=host rustdesk/rustdesk-server hbbr

提示:XXX.XXX.XXX.XXX需替换为服务器IP

posted @ 2024-01-02 10:34  未来的羁绊  阅读(547)  评论(0编辑  收藏  举报