Closed ebeigarts closed 9 years ago
Mongo images on dockerhub uses /data/db volume and not /data.
/data/db
/data
After upgrading, users will need to manually copy /var/lib/docker/volumes/../_data to /var/lib/dokku/services/mongo/<app>/data
/var/lib/docker/volumes/../_data
/var/lib/dokku/services/mongo/<app>/data
You can get the current mount points using docker inspect <container-id>
docker inspect <container-id>
"Mounts": [ { "Source": "/var/lib/dokku/services/mongo/<app>/data", "Destination": "/data", "Mode": "", "RW": true }, { "Name": "bda013c6b4699687eb8a8e8e68440838cfedef62ab4be454bc13d0f66eab1279", "Source": "/var/lib/docker/volumes/bda013c6b4699687eb8a8e8e68440838cfedef62ab4be454bc13d0f66eab1279/_data", "Destination": "/data/db", "Driver": "local", "Mode": "", "RW": true } ],
:+1:
Mongo images on dockerhub uses
/data/db
volume and not/data
.After upgrading, users will need to manually copy
/var/lib/docker/volumes/../_data
to/var/lib/dokku/services/mongo/<app>/data
You can get the current mount points using
docker inspect <container-id>