aboutsummaryrefslogtreecommitdiffstats
path: root/docker/firstboot/setup_docker_host.sh
diff options
context:
space:
mode:
authorJiri Stransky <jistr@redhat.com>2017-03-07 14:22:33 +0100
committerJiri Stransky <jistr@redhat.com>2017-03-14 13:53:06 +0000
commit3c51cad7c99de162fd9ab06f975b637892247c94 (patch)
tree4db21386368ecfd6840618304264028249b8a4c5 /docker/firstboot/setup_docker_host.sh
parentcd88f4d8e928daf0676a4a9b6f36d93df7a6aa7c (diff)
Keep existing data for containerized MongoDB
We used named Docker volume for MongoDB storage, which meant that when moving from bare metal to containerized, we lost data and reinitialized the storage from scratch. With this commit we keep the data by mounting the original data into the container. We also need make sure that file ownership is correct according to the uid/gid used within MongoDB container image. Change-Id: I86ef2cb37a068b767462d6d50fe451389b7cbb58
Diffstat (limited to 'docker/firstboot/setup_docker_host.sh')
0 files changed, 0 insertions, 0 deletions