-
Notifications
You must be signed in to change notification settings - Fork 489
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
add "run" command #24
Comments
it's now much easier to add more commands using see CONTRIBUTING.md |
@stefanb2 there are some missing features like passing custom please test
if it's not detached I make it interactive so you can run |
Looks like you beat me to the punch. I started to work on an implementation yesterday. Unfortunately your changes seem to have broken the script completely. If I take HEAD (7e0a036) I can't get But commit eb72a71 broke
Looks like a typo and that line should instead read: proj_name = compose.project_name |
yes, I've fixed that typo. |
I got this working, but only with #43 |
This works for me on master, but one note, it always tries to re-create the pod:
|
Would this make |
Got a prob with the run command
It seems my args are not passed to the entrypoint. Is it a bug? Have I missed something? |
I'll try to look at issue this weekend. |
To quote from docker-compose CLI documentation:
We use several different docker-compose YAML files in our projects, with various one-shot "helper commands" for different tasks a developer might need to perform, e.g. database setup.
Those tasks are performed by standard non-project specific images provided by our internal repository. I.e. the developer doesn't have to install anything or remember a complicated command line to perform those tasks. He simply types e.g.
on any project to initialize the MySQL database to such a state that he can start working on the project.
The YAML file provides an easy way to supply the parameters, e.g.
Furthermore the file is under project version control.
Without the
run
command I have to translate the exisiting YAML file contents to the following command line:The text was updated successfully, but these errors were encountered: