-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Make /run/postgresql a volume #51
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
Conversation
|
FWIW, I was just able to start the existing |
|
I just checked and saw that |
|
See appropriate/docker-jetty#5 for how I'm thinking about approaching this in the |
docker-entrypoint.sh
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The rest of this file has indented whitespace, doesn't it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
55e0d60f920689ae97e9c953111af5f7ba9a01f3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, let me squash that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
51283401e11bb5e6cb91c987dfd64a8fffa24653
|
This seems sane to me. |
|
So, one thing that might make this less sane is that this can't be undone in images |
|
LGTM |
|
I am wary of merging this without more community input. |
I'm not in a rush to see this merged, but I do think it would fix the issue that @bartmeuris reported in #50. I know that the |
|
ping @jpetazzo who's had strong feelings about |
|
As an alternative, we could just add the chown lines (fixing #50), and leave the VOLUME to the user if it is desired. But some community feedback would be best, even if they are indifferent on the change. |
|
@yosifkit good idea. I'll split out the |
|
We should leave this open to allow further discussion to see if users want the volume by default or maybe we just need to document a simple |
|
Looks like all work to improve the situation with |
|
I also just came across moby/moby#8478, which mounts |
|
Github isn't picking up changes to this branch. I'm going to try closing and reopening the PR. |
|
So much for that... |
|
I wonder if it has something to do with the disconnect from upstream repos? It seems that some have gone through and that the ones that were forked from us have been reparented to the base. @tianon is talking to support about it. |
|
I was expecting that after #52 closed, this PR would only have one commit (4df941f) since the other commit has been merged (e616341). Instead, both commits stayed there and the diff was still showing changes from e616341, so I rebased off the latest Odd. |
Forgot I created this branch last week. Opening this PR for discussion as much as anything. It seems reasonable to me for service containers to use
VOLUME /run/MYSERVICEif they have a dedicated/rundirectory.Fixes #50