abiosoft / abiosoft/colima

Can't find mounted volumes?

Offen
#1,295 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
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.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.