mirror of https://github.com/docker/docs.git
Update README.md
This commit is contained in:
parent
94ea6a43ee
commit
d94a949934
|
@ -39,9 +39,10 @@ $ swarm join --token=6856663cdefdec325839a4b7e1de38e8 --addr=<docker_daemon_ip3:
|
||||||
$ swarm manage --token=6856663cdefdec325839a4b7e1de38e8 --addr=<swarm_ip:4243>
|
$ swarm manage --token=6856663cdefdec325839a4b7e1de38e8 --addr=<swarm_ip:4243>
|
||||||
|
|
||||||
# use the regular docker cli
|
# use the regular docker cli
|
||||||
$ docker -H <swarm_ip:4243> ps
|
|
||||||
$ docker -H <swarm_ip:4243> run ...
|
|
||||||
$ docker -H <swarm_ip:4243> info
|
$ docker -H <swarm_ip:4243> info
|
||||||
|
$ docker -H <swarm_ip:4243> run ...
|
||||||
|
$ docker -H <swarm_ip:4243> ps
|
||||||
|
$ docker -H <swarm_ip:4243> logs ...
|
||||||
...
|
...
|
||||||
|
|
||||||
# list nodes in your cluster
|
# list nodes in your cluster
|
||||||
|
|
Loading…
Reference in New Issue