Use docker-compose to execute a script right before the container is stopped

前端 未结 0 1308
面向向阳花
面向向阳花 2021-02-20 16:57

Let\'s say I want to execute a cleanup script whenever container termination is triggered. How do I go about this using docker-compose?

This could be handy to automatical

相关标签:
回答
  • 消灭零回复
提交回复
热议问题