[lxc-users] LXD share /var/lib/mysql from host to container and map user/group

Andrey Repin anrdaemon at yandex.ru
Tue Jul 10 14:20:09 UTC 2018


Greetings, Tony P!

> Hi Andrey. Actually, I should have mentioned this first but I don't mean
> "share" in the sense of sharing a data-dir with two database instances.
> Rather, I mean "share" in the context of Host to Container. I will only be
> running mysql in the container, not the host. So my objective is basically
> to offer the container mysql a valid data-dir *from* the host. That's it. Is it doable? 

It is no different than any other bind mount.
What's your actual problem?


-- 
With best regards,
Andrey Repin
Tuesday, July 10, 2018 17:19:40

Sorry for my terrible english...


More information about the lxc-users mailing list