Quantcast
Channel: Trouble Shooting - Mattermost Peer-to-Peer Forum
Viewing all articles
Browse latest Browse all 327

Cannot mount host directory with mattermost Docker container

$
0
0

@sybeck2k wrote:

I'm using the mattermost container 2.0 (https://github.com/mattermost/platform/tree/master/docker/2.0), and I'm trying to mount the /mattermost/data volume to the host directory - but files created in the container are not visible in the host. Here is the result of docker inspect mattermost:

{
    "Source": "/mnt/mattermost-data/data",
    "Destination": "/mattermost/data",
    "Mode": "",
    "RW": true
},
{
    "Source": "/mnt/mattermost-data/db",
    "Destination": "/var/lib/mysql",
    "Mode": "",
    "RW": true
}

I've tried to set the permission to 777 to the folders, but still no luck.
What do I need to do to persist on the host the data, db, and config folders?

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 327

Trending Articles