Skip to content

docker mongoldb with boot2docker-vm #28

Description

@vchouhan

I tried setting up the NAT port forwarding setup as per your command using the VBoxManage and I still get the following errors.

I have a symbolic link in my / and my mongoldb is located in /usr/local/mongodb/data/db

docker-compose.yml contains the following
mongo:
image: mongo
volumes:
- /usr/local/mongodb/data/db:/data/db
ports:
- "27017:27017"

I'm still getting the below error.

mongo_1 | chown: changing ownership of '/data/db/_mdb_catalog.wt': Operation not permitted mongo_1 | chown: changing ownership of '/data/db/diagnostic.data/metrics.2016-10-13T01-07-35Z-00000': Operation not permitted mongo_1 | chown: changing ownership of '/data/db/diagnostic.data/metrics.2016-10-18T16-17-12Z-00000': Operation not permitted mongo_1 | chown: changing ownership of '/data/db/diagnostic.data/metrics.2017-04-02T03-08-02Z-00000': Operation not permitted mongo_1 | chown: changing ownership of '/data/db/diagnostic.data/metrics.2017-04-02T03-15-21Z-00000': Operation not permitted mongo_1 | chown: changing ownership of '/data/db/diagnostic.data': Operation not permitted mongo_1 | chown: changing ownership of '/data/db/journal/WiredTigerLog.0000000004': Operation not permitted mongo_1 | chown: changing ownership of '/data/db/journal/WiredTigerPreplog.0000000001': Operation not permitted mongo_1 | chown: changing ownership of '/data/db/journal/WiredTigerPreplog.0000000002': Operation not permitted mongo_1 | chown: changing ownership of '/data/db/journal': Operation not permitted mongo_1 | chown: changing ownership of '/data/db/local/collection-0--8592570065685910789.wt': Operation not permitted mongo_1 | chown: changing ownership of '/data/db/local/index-1--8592570065685910789.wt': Operation not permitted mongo_1 | chown: changing ownership of '/data/db/local': Operation not permitted mongo_1 | chown: changing ownership of '/data/db/mongod.lock': Operation not permitted mongo_1 | chown: changing ownership of '/data/db/sizeStorer.wt': Operation not permitted mongo_1 | chown: changing ownership of '/data/db/storage.bson': Operation not permitted mongo_1 | chown: changing ownership of '/data/db/WiredTiger': Operation not permitted mongo_1 | chown: changing ownership of '/data/db/WiredTiger.lock': Operation not permitted mongo_1 | chown: changing ownership of '/data/db/WiredTiger.turtle': Operation not permitted mongo_1 | chown: changing ownership of '/data/db/WiredTiger.wt': Operation not permitted mongo_1 | chown: changing ownership of '/data/db/WiredTigerLAS.wt': Operation not permitted mongo_1 | chown: changing ownership of '/data/db': Operation not permitted

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions