I was able to set up a volume for mysql, with the following line in the Dockerfile of the Mysql container.
VOLUME /data/mysql:/var/lib/mysql
The folder is created and inside it in the host machine, the mysql files appear la, create the data...
asked by
11.02.2018 / 21:14