Mounting a Docker MySQL volume.
As I tried to create and use MySQL with Docker in a Windows environment.. I found that I needed to mount a volume. Of course, since this is for development and
As I tried to create and use MySQL with Docker in a Windows environment..
I found that I needed to mount a volume.
Of course, since this is for development and testing, the data isn't that important,
but I thought I'd write about mounting a Docker volume as a way to practice.
When I tried to install MySQL on Ubuntu and add a volume..
it didn't work..
It might be possible, but even after spending a lot of time, I couldn't get it to work..
So I decided to just use a separate MySQL image. (Is that obvious ?)
I created docker-compose.yml,