Where do I share the folder of a MySQL container in docker so as not to lose the connection?

0

I have created two containers, one from wordpress and another from mysql. They were working perfectly until I shared a folder between the mysql container and the pc. In doing so I lost the connection in the wordpress, and the folder I share from mysql can not be moved. I need to not lose the bbdd information every time I restart or shut down the computer.

Can someone tell me where I should share the mysql folder so that the wordpress does not have a connection error?

    
asked by PiP 21.08.2018 в 10:48
source

0 answers