[lxc-users] LXD share /var/lib/mysql from host to container and map user/group
Andrey Repin
anrdaemon at yandex.ru
Tue Jul 10 18:23:11 UTC 2018
Greetings, Tony P!
>> Then run a dedicated database container. Don't create problems for yourself,
>> and you won't have to solve them.
> Creating problems for myself -- story of my life haha. XD You are
> absolutely right though.
> However, about using a dedicated database container, I didn't want to
> do it that way because I want the testing of my web applications to be
> somewhat seamless and not require any configuration changes. The goal
> is to test the web apps AS-IS without any changes to the code by
> quickly running a script (so it will be automated). Does that make
> sense?
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.
--
With best regards,
Andrey Repin
Tuesday, July 10, 2018 21:22:09
Sorry for my terrible english...
More information about the lxc-users
mailing list