docker-compose-development icon indicating copy to clipboard operation
docker-compose-development copied to clipboard

Error running containers

Open esjdev opened this issue 2 years ago • 2 comments

I'm using the development-docker-compose-2 branch

Every time I do a dev start I have to rebuild the containers because of this error that keeps getting:

Error response from daemon: error while mounting volume '/var/lib/docker/volumes/dockerdev-workspace-volume/_data': failed to mount local volume: mount /run/desktop/mnt/host/wsl/docker-desktop-bind-mounts/Ubuntu-20.04/850e472369369f9c62d883896b951c4e5ba48657c91e430225e9857574bab7f0:/var/lib/docker/volumes/dockerdev-workspace-volume/_data, flags: 0x1000: no such file or directory

esjdev avatar May 17 '22 15:05 esjdev

Hi @esjdev missed this one... did you run dev setup ?

I also did a bugfix for MySQL on June 1 which resolves a bug you maybe ran into in your shell...

So, pulling the latest, running dev setup again should make it work

JeroenBoersma avatar Jul 31 '22 11:07 JeroenBoersma

Hi @esjdev missed this one... did you run dev setup ?

I also did a bugfix for MySQL on June 1 which resolves a bug you maybe ran into in your shell...

So, pulling the latest, running dev setup again should make it work

Still having the same problem, I couldn't solve it. ;-;

Whenever I restart my computer and try to the ride up containers, it gives the same error again. Then I have to remove everything and ride up the containers again.

This is the problem: https://github.com/docker/compose/issues/8922 or https://github.com/docker/for-win/issues/9823

To solve my problem whenever I get this error, I created a command called dev_fix that executes the following commands in order: dev down; dev volume rm workspace; dev volume workspace /home/user/development/workspace; dev up;

esjdev avatar Jul 31 '22 22:07 esjdev