cmd:
docker run -d -i -t -v /Users/eysirs/database:/database -w /Users/eysirs/database -p 3306:3306 -e MYSQL_ROOT_PASSWORD=123456 mysql
environment:
Apple Mini M4
desc:
I mount /Users/eysirs/database to container /database. But my local path /Users/eysirs/database has no any data, and every time i run a container, there will automatic create a volume with random name, like this: bbf2eec4df3aef15ea4ed3320c5bfa503f63ebde40f65871e0f493662c852b73, it's data will removed when I delete the container. My God, I'm crazy. Help Me.