Signed-off-by: lixiaobing10051267 <li.xiaobing1@zte.com.cn>
| ... | ... |
@@ -47,7 +47,7 @@ $ docker network create \ |
| 47 | 47 |
|
| 48 | 48 |
# Create an nginx service and extend the my-multi-host-network to nodes where |
| 49 | 49 |
# the service's tasks run. |
| 50 |
-$ $ docker service create --replicas 2 --network my-multi-host-network --name my-web nginx |
|
| 50 |
+$ docker service create --replicas 2 --network my-multi-host-network --name my-web nginx |
|
| 51 | 51 |
|
| 52 | 52 |
716thylsndqma81j6kkkb5aus |
| 53 | 53 |
``` |
| ... | ... |
@@ -428,7 +428,7 @@ $ docker network create \ |
| 428 | 428 |
|
| 429 | 429 |
# Create an nginx service and extend the my-multi-host-network to nodes where |
| 430 | 430 |
# the service's tasks run. |
| 431 |
-$ $ docker service create --replicas 2 --network my-multi-host-network --name my-web nginx |
|
| 431 |
+$ docker service create --replicas 2 --network my-multi-host-network --name my-web nginx |
|
| 432 | 432 |
|
| 433 | 433 |
716thylsndqma81j6kkkb5aus |
| 434 | 434 |
``` |