Quantcast
Channel: Mattermost Discussion Forums - Latest posts
Viewing all articles
Browse latest Browse all 25517

Cannot mount host directory with mattermost Docker container

$
0
0

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?


Viewing all articles
Browse latest Browse all 25517

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>