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

Andrey Repin anrdaemon at yandex.ru
Sat Jul 14 00:43:54 UTC 2018


Greetings, Tony P!

> Hello Andrey.

>> No. Normal testing setup includes all steps to prepare testing environment.
>> And normally, when you test database interaction, you use mocked database
>> driver, so no actual database is necessary.

> Sounds like you have an interesting setup. I'm glad it works for you.
> However, that will not work for my use case. This is not a "Normal
> testing setup". We do rapid iterations and a lot of automated testing,
> so the process has to be quick and also use an actual database which
> has been prepopulated with test data and will also process that data
> and add new data during the testing.

Then use backing file system capable of making snapshots.


-- 
With best regards,
Andrey Repin
Saturday, July 14, 2018 3:43:14

Sorry for my terrible english...



More information about the lxc-users mailing list