Skip to content

Updating while preserving data #30

@bard

Description

@bard

I'm trying to update from image 5aa989580ba8 (four weeks ago) to image 665c17ea4dfd (two days ago).

In the previous image, I had these mappings:

  • /var/lib/arangodb3/var/lib/docker/volumes/c3adfff834557674644bcd0f96fe9e5d2d69cf2a78074a6c2cc980ecaa53b906
  • /var/lib/arangodb3-apps/var/lib/docker/volumes/2862a7bfcd63b03c8cdc6bef41fa446656b32ab323868d74270e7a8eb09d0307

Do I need to do something other than the following to run the new image with existing data?

docker run \
  -v /var/lib/docker/volumes/c3adfff834557674644bcd0f96fe9e5d2d69cf2a78074a6c2cc980ecaa53b906/:/var/lib/arangodb3 \
  -v /var/lib/docker/volumes/2862a7bfcd63b03c8cdc6bef41fa446656b32ab323868d74270e7a8eb09d0307/:/var/lib/arangodb3-apps \
  --name arangodb -p 127.0.0.1:8529:8529 arangodb

I can see the volumes are mounted correctly inside the container but hitting any of the databases at http://localhost:8529/_db/... yields a 404.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions