I noticed the Dockerfile has VOLUME [ "/var/opt/rh/rh-postgresql95/lib/pgsql/data" ], so I mounted a host directory to this volume to persist the data.
However, recreating a container with the same host directory mounted will bring a broken container.
Steps to reproduce the issue:
# this container works fine
$ docker --name manageiq -d -p 80:80 -p 443:443 -v /var/data:/var/opt/rh/rh-postgresql95/lib/pgsql/data manageiq/manageiq:fine-2
$ docker stop manageiq
$ docker rm manageiq
# this container does not work
$ docker --name manageiq -d -p 80:80 -p 443:443 -v /var/data:/var/opt/rh/rh-postgresql95/lib/pgsql/data manageiq/manageiq:fine-2
Is the Docker container design here take persistent into consideration?
any news on this ?
This issue has been automatically marked as stale because it has not been updated for at least 6 months.
If you can still reproduce this issue on the current release or on master, please reply with all of the information you have about it in order to keep the issue open.
Thank you for all your contributions!
@meng-tian is this still a valid issue. If not can you close.
If there's no update by next week, I'll be closing this issue.
Closing issue. If you feel the issue needs to remain open, please let me know and it will be reopened.
@miq-bot close_issue
Most helpful comment
any news on this ?