Kaynağa Gözat

Merge pull request #26360 from lixiaobing10051267/masterServiceCreate

remove some incorrect bash symbols
Doug Davis 8 yıl önce
ebeveyn
işleme
a8f79e5542

+ 1 - 1
docs/userguide/networking/get-started-overlay.md

@@ -47,7 +47,7 @@ $ docker network create \
 
 
 # Create an nginx service and extend the my-multi-host-network to nodes where
 # Create an nginx service and extend the my-multi-host-network to nodes where
 # the service's tasks run.
 # the service's tasks run.
-$ $ docker service create --replicas 2 --network my-multi-host-network --name my-web nginx
+$ docker service create --replicas 2 --network my-multi-host-network --name my-web nginx
 
 
 716thylsndqma81j6kkkb5aus
 716thylsndqma81j6kkkb5aus
 ```
 ```

+ 1 - 1
docs/userguide/networking/index.md

@@ -428,7 +428,7 @@ $ docker network create \
 
 
 # Create an nginx service and extend the my-multi-host-network to nodes where
 # Create an nginx service and extend the my-multi-host-network to nodes where
 # the service's tasks run.
 # the service's tasks run.
-$ $ docker service create --replicas 2 --network my-multi-host-network --name my-web nginx
+$ docker service create --replicas 2 --network my-multi-host-network --name my-web nginx
 
 
 716thylsndqma81j6kkkb5aus
 716thylsndqma81j6kkkb5aus
 ```
 ```