阅读背景:

如何使用命令将参数传递给具有python入口点脚本的docker容器?

来源:互联网 

So I've got a docker image with a python script as the entry-point and I would like to pass arguments to the python script when the container is run. I've tried to get the arguments using sys.argv and sys.stdin, but neither has worked. I'm trying to run the container using:So I've got a docker image with a python script




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: