-
Notifications
You must be signed in to change notification settings - Fork 149
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
myhostname is added after each restart #37
Comments
Interesting -- I'll have a look a the code. |
In your Dockerfile contains # Set up volumes |
Duplications occur not only in this file, but also in others: If I do not explicitly specify the volume in docker-compose, it is still created, just not named (with name like "21f27daf942e69ee3792a54ce3f708144"). |
While quite annoying behavour, this is the how `postconf` works. If you tell it to comment out a command, it will add it to the config even when the same command exists commented out in the config file. This commit does a bit of sed and grep magic to find if the comment already exists and if yes, then it does nothing.
This should be resolved in the latest master. |
Thank you! |
After each restart of dockers in main.cf file (on volume) added new string with myhostname, old string with this param are commented.
Part of my docker-compose
Only this parameter is repeated, is this expected behavior or a bug?
The text was updated successfully, but these errors were encountered: