故障报告
1. 问题(故障)描述
[root@iZ2zec520yiix4vijvym35Z simple_server]# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
9b29632b08d9 ubuntu "bash" 4 months ago Up 4 months ubuntu-test
cf377ac36a04 zcbus_ubuntu_java:1.0 "bash" 8 months ago Up 8 months zcbus_ubuntu_java
[root@iZ2zec520yiix4vijvym35Z simple_server]# ./zcmgr.sh uninstall
[INFO] Please Make sure Uninstall zcbus soft path /data/docker02/zcbusdata [y,Y]/[n,N]:y
will uninstall zcbus for all ..........
zcbus_docker is Stopping ...
zcbus_docker is Finished ...
Not Found zcbus_docker process...
ERROR: The Compose file '/data/zcbus_docker/zcbusSoft/simple_server/yaml/docker-compose.yml' is invalid because:
networks.default value Additional properties are not allowed ('name' was unexpected)
====>>>ZCBUS [ Wed Feb 14 12:45:17 CST 2024 ]
ERROR: The Compose file '/data/zcbus_docker/zcbusSoft/simple_server/yaml/docker-compose.yml' is invalid because:
networks.default value Additional properties are not allowed ('name' was unexpected)
====>>>ZCBUS [ Wed Feb 14 12:45:18 CST 2024 ]
ERROR: The Compose file '/data/zcbus_docker/zcbusSoft/simple_server/yaml/docker-compose.yml' is invalid because:
networks.default value Additional properties are not allowed ('name' was unexpected)
172.17.26.58==➜ Clear /data/docker02/zcbusdata sucessfull...
[root@iZ2zec520yiix4vijvym35Z simple_server]# ./zcmgr.sh install
172.17.26.58==➜ Check Memory 0 > 0 ok ...
2. 问题(故障)原因
docker-comppose版本问题
3. 解决
检查docker-compose版本为2.0以上版本或者寻找zcbus原厂,寻找对应实际版本即可。
4. 参考
文档更新时间: 2024-02-13 18:58 作者:阿力