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

docker-gen command doesn't exit #159

Closed
mpatton125 opened this issue Feb 5, 2016 · 4 comments
Closed

docker-gen command doesn't exit #159

mpatton125 opened this issue Feb 5, 2016 · 4 comments

Comments

@mpatton125
Copy link

Hi there,

When I run the docker-gen command from within the container, it performs as expected however it never seems to exit (back to the command line)?

I would expect this behaviour with -interval or -watch, but I am not using either of these. At present it sits there (after completing it's activity) until I hit CTRL-C.

Mike

@jwilder
Copy link
Collaborator

jwilder commented Feb 5, 2016

Can you provide some steps to reproduce this issue?

@mpatton125
Copy link
Author

Sure, I have just 'exec'ed into my docker-gen container and run the following:

root:/# /usr/local/bin/docker-gen -only-exposed /etc/docker-gen/templates/nginx.tmpl /etc/nginx/conf.d/default.conf

Which just resulted in (as expected):

2016/02/05 22:34:57 Contents of /etc/nginx/conf.d/default.conf did not change. Skipping notification ''

But after that it doesn't exit. It just sits there doing nothing and I have to CTRL-C to get back to the command line.

M.

@mpatton125
Copy link
Author

I would expect execution to continue in the cases of -watch and -interval however without either of those options, I would expect execution to be a 1 shot deal and to exit cleanly?

Is this not expected behaviour?

@nilroy
Copy link

nilroy commented Feb 13, 2016

@jwilder I am also facing the same issue as @falcon15500

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