play-with-docker

This commit is contained in:
严浩
2024-10-20 19:46:08 +08:00
committed by GitHub
parent 49060ce042
commit 061a6912b8

View File

@ -64,7 +64,7 @@ chmod 777 data share
docker run -d --name client1 \ docker run -d --name client1 \
--restart on-failure \ --restart on-failure \
--network host \ --network host \
-e CLIENT_HOSTNAME=client_hostname \ -e CLIENT_HOSTNAME=client_hostname1 \
-e ROLE=CLIENT \ -e ROLE=CLIENT \
-e SERVER_HOSTNAME=192.168.0.18 \ -e SERVER_HOSTNAME=192.168.0.18 \
-e SERVER_PORT=2222 \ -e SERVER_PORT=2222 \