My container cannot save data to Disk, anyone can help me? #564
leslichase9
started this conversation in
General
Replies: 1 comment
-
|
This is the Git repository for https://hub.docker.com/_/docker, which is just Docker-image packaging for running the Docker project inside Docker, so it seems like you've perhaps stumbled into the wrong GitHub repository. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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.
Beta Was this translation helpful? Give feedback.
All reactions