Closed Pum-purum closed 4 years ago
Андрей, try to add something like this:
volumes:
- /mysql:/var/lib/mysql
But what if i use Docker on Windows machine ?
@Pum-purum @Coderberg is right, you can mount your data into a directory. It works both on Linux, MacOS and Windows, so you can specify a Windows directory, such as:
volumes:
- C:\data\mysql:/var/lib/mysql
Please close this issue once it's OK for you.
Thank you
Database is clear every time I launched docker :(