Can't find mounted volumes?
- Vorherrschende Sprache
- Go
- Sterne
- 30.8k
- Forks
- 613
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Switched from Docker Desktop to colima. One of the things I run is MySQL in a container, launched with binding a directory to my data locally such as with this:
```
docker run --hostname=8dac0784d09e
--env=MYSQL_ROOT_PASSWORD=password
--env=PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
--volume=/Volumes/dev/mysql8:/var/lib/mysql
--network=bridge
-p 3306:3306
--restart=always
--name=mysql8
--runtime=runc
-d mysql:8.2
```
It's not actually using Volumes/dev/mysql8 as specified (my databases I had with docker desktop are not there because it's ignoring that folder). I can create new database and they persist if I delete the container and restart, so I know they're not just within the running container, but I cannot find where they're going on my hard drive.
This is MacOS M1 Max machine with latest Sonora
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.