1、docker swarm leave  >退出swarm集群
2、创建cloud:docker network create --attachable --subnet 172.19.19.0/24 cloud >创建docker网络
3、docker compose -f wenjian.yml up -d  >docker compose 执行yaml文件

Logo

码道开发者社区,聚焦华为云码道 CodeArts 代码智能体,沉淀 Agent、Skill、鸿蒙开发实战内容,供开发者查阅资料、交流技术、分享工程实践

更多推荐