[docker]更新容器中镜像版本
从peccore-dev仓库拉取镜像
docker pull 10.12.135.238:8060/peccore-dev/configserver:v1.13.45
如果报错,请参考docker拉取镜像失败,添加仓库地址
修改/etc/CET/Common/peccore-docker-compose.yml文件中容器的版本,为刚刚拉取的版本
# 配置中心configserver:image: 10.12.135.238:8060/peccore-dev/configserver:v1.13.45restart: unless-stoppedpid: hostipc: hostnetwork_mode: "host"privileged: truevolumes:- /dev/shm:/dev/shm- /etc/CET/Common/:/etc/CET/Common/- /opt/CET/Common/.base/base.ini:/etc/CET/Common/base.ini- /var/log/CET/Common/log:/var/log/CET/Common/log- /opt/CET/Common/scripts:/opt/CET/Common/scripts- /opt/CET/Common/dbconn.cfg:/opt/CET/Common/dbconn.cfg- /opt/CET/Common/CfgCache:/opt/CET/Common/CfgCache- /opt/CET/Common/sqlite3:/opt/CET/Common/sqlite3- /opt/CET/Common/language:/opt/CET/Common/language- /opt/CET/Common/CGI:/opt/CET/Common/CGIcommand: /opt/CET/Common/ConfigServer.outenvironment:TZ: Asia/Shanghai
更新容器
docker-compose -f /etc/CET/Common/peccore-docker-compose.yml up -d