小编Ilh*_*cas的帖子

Docker run script in host on docker-compose up

thank you for watching this question.

So my question relates to best practices on how to run a script on a docker-compose up directive.

Currently i'm sharing a volume between host and container to allow for the script changes to be visible to both host and container. Similar to a watching script polling for changes on configuration file.

The script has to act on host on changes according to predefined rules.

So my question is:

How could I start this …

bash docker dockerfile docker-compose docker-machine

7
推荐指数
1
解决办法
6097
查看次数