Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用lambda执行容器命令时,希望可以取代dockerfile的CMD #118

Closed
atlas-comstock opened this issue Aug 1, 2019 · 3 comments

Comments

@atlas-comstock
Copy link
Contributor

如:
cli lambda --pod eru "sh -c \"ping yonghaoTCPServer\" " 时,希望不是执行dockerfile里写死的CMD,而是我的sh -c \"ping yonghaoTCPServer\"命令。

@jschwinger233
Copy link
Member

是 entrypoint, 吧? cmd 本来就会被替换, 吧?

@CMGS
Copy link
Contributor

CMGS commented Aug 1, 2019 via email

@atlas-comstock
Copy link
Contributor Author

理解有问题,描述错误了。
应该是entrypoint没有覆盖。

@CMGS CMGS closed this as completed Aug 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants