如何在docker-compose中传递参数? [英] How to pass arguments within docker-compose?
本文介绍了如何在docker-compose中传递参数?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
请参阅链接: https://docs.docker.com/engine/reference/builder/#arg
如何可以在docker-compose.yml中通过相同的配音?
如果可能,请提供一个例子。
解决方案
应该在下一个版本(1.6) 。
Docker 1.9 allows to pass arguments to a dockerfile. See link: https://docs.docker.com/engine/reference/builder/#arg
How can i pass the same arugments within docker-compose.yml??
Please provide an example too, if possible.
解决方案
This feature isn't supported yet. It was proposed here It's being worked on in #2540.
It should be available in the next version (1.6).
这篇关于如何在docker-compose中传递参数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文