Closed Paulmicha closed 5 years ago
Also tried MARIADB_TAG=10.3-3.3.8
: still fails.
Found workaround : renamed the folder containing the stack. I changed nothing else and it worked.
So something is persisting despite docker-compose down --remove-orphans
.
Unless this could be caused by another project on the same host inside a folder having the same name somewhere else in the filesystem - e.g. /path/to/project-1/dev-stack
and /path/to/project-2/dev-stack
?
It seems possible by looking at the contents of /var/lib/docker/volumes
. The solution would then be never to use identical folder names across different projects on the same host when using named local data volumes for databases.
Resolved by chmod to source dir
This error occured on a previously working local instance. When trying to start the stack, I get from
docker-compose logs mariadb
:Extract from my
docker-compose.yml
file :Extract from my
.env
file :Host details :
18.04 LTS
(Ubuntu bionic)version 18.06.1-ce, build e68fc7a
version 1.22.0, build f46880fe
What I've tried (all attempts failed) :
docker-compose rm -f -s -v mariadb
thendocker-compose start mariadb
docker-compose down --remove-orphans
thendocker-compose pull
anddocker-compose up -d
docker-compose run mariadb sh
to inspect file permissions inside the container - nothing unusual to report, see below :This issue seems to be related : https://github.com/wodby/mariadb/issues/2
Any ideas what I could try ?