Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当docker容器/服务在失败后重新启动时,有没有办法重新执行入口点脚本?
我正在使用 docker stack deploy -c docker-compose.yaml abcstack 进行部署。
此撰写文件包含多个服务。
ENTRYPOINT和CMD,当添加到 dockerfile 时,总是在容器启动时执行。