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

0.6.0 breaking change to -stdout #125

Open
mrmachine opened this issue Dec 6, 2018 · 0 comments
Open

0.6.0 breaking change to -stdout #125

mrmachine opened this issue Dec 6, 2018 · 0 comments

Comments

@mrmachine
Copy link

I think there was a change, something to do with named pipes, that now requires the file being monitored and sent to stdout must already exist before dockerize runs. That was not the case in 0.5.0. We use dockerize as a wrapper in the command definition of our compose file, and the log file being monitored won't exist on a new deployment until after the application has started running, which is after dockerize executes (because dockerize wraps the application command).

This means we either get containers that fail to startup, the application never gets to start even once to create the log that we want to monitor and send to stdout. Instead, we have to somehow manually run another container with access to the same volume and touch the file (or make another wrapper script and bake it into the image and wrap dockerize).

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

1 participant