Skip to content
This repository has been archived by the owner on Jul 23, 2019. It is now read-only.

CMD and ENTRYPOINT #1

Open
alexei-led opened this issue May 27, 2016 · 1 comment
Open

CMD and ENTRYPOINT #1

alexei-led opened this issue May 27, 2016 · 1 comment

Comments

@alexei-led
Copy link
Contributor

I think that moving CMD and ENTRYPOINT from their standard place in Dockerfile to LABEL looks unnatural.
Think about what problem do you want to solve?
tagbot run can do a second run without problem, inspecting previously run containers and getting CMD and ENTRYPOINT from them.
tugbot watch should be smart enough to detect test container run and get test results from it: watching mounted volume or copying after run.
I would like to keep "adoption learning curve" as low as possible: know how to deploy and run container? Just add couple labels to mark test container, point to test results and "subscribe" to events and you've done - tagbot will run tests on events and will collect all test results continuously.

@shayts7
Copy link
Contributor

shayts7 commented May 27, 2016

You are porbably right. I wish docker had some notion of putting the docker run command next to an image, so when someone (like tugbot run for instance) would like to run the image he will know how to do it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants