Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exit status 17: backend: no such file or directory #5

Open
nileshtrivedi opened this issue Nov 15, 2021 · 7 comments
Open

Exit status 17: backend: no such file or directory #5

nileshtrivedi opened this issue Nov 15, 2021 · 7 comments

Comments

@nileshtrivedi
Copy link

While trying to load this commit as a Dev Environment with Docker Desktop 4.2.0 (70708) on Mac OS 11.6, I get this non-intermittent failure:

Detecting main repo language...
Detected 'Go' as the main repository language.
could not find /var/folders/1f/wfpcf_k14gx_kx8sxsw3473m0000gn/T/volume-compose-dev-env-charming_wright/proxy/var/folders/1f/wfpcf_k14gx_kx8sxsw3473m0000gn/T/volume-compose-dev-env-charming_wright/proxy: stat /var/folders/1f/wfpcf_k14gx_kx8sxsw3473m0000gn/T/volume-compose-dev-env-charming_wright/proxy/var/folders/1f/wfpcf_k14gx_kx8sxsw3473m0000gn/T/volume-compose-dev-env-charming_wright/proxy: no such file or directory
exit status 17

This is reproducible even with clicking the link under "Try running a sample" on the dashboard:
image

Although, this time it complained about a different folder missing:

Detected 'Go' as the main repository language.
could not find /var/folders/1f/wfpcf_k14gx_kx8sxsw3473m0000gn/T/volume-compose-dev-env-pensive_wozniak/backend/var/folders/1f/wfpcf_k14gx_kx8sxsw3473m0000gn/T/volume-compose-dev-env-pensive_wozniak/backend: stat /var/folders/1f/wfpcf_k14gx_kx8sxsw3473m0000gn/T/volume-compose-dev-env-pensive_wozniak/backend/var/folders/1f/wfpcf_k14gx_kx8sxsw3473m0000gn/T/volume-compose-dev-env-pensive_wozniak/backend: no such file or directory
exit status 17
@glours
Copy link
Member

glours commented Nov 15, 2021

Hello @nileshtrivedi

Compose v1 and v2 behave differently , I'll try to figure out what should be the right behaviour and propose a PR to fix that.
By the way the issue isn't in this sample, and you can fix this, for the moment, by turning off the use of Compose V2 in Docker Desktop

compose-v2

@glours
Copy link
Member

glours commented Nov 16, 2021

A fix has been merged this morning, the sample should run fine with Compose V2 in the next release of Docker Desktop (maybe 4.3.0)

@ranmocy
Copy link

ranmocy commented Dec 10, 2021

Still see the same issue with Docker Desktop v4.3.0(71786) and Docker Compose v2.2.1.
Tested both "Use Docker Compose V2" checked and unchecked. Same error message:

Preparing to clone inside a volume
Installing credential helpers... done
Cloning into '/code'...
remote: Enumerating objects: 63, done.
remote: Counting objects: 100% (63/63), done.remote: Counting objects:  47% (30/63)remote: Counting objects:  17% (11/63)remote: Counting objects:  11% (7/63)
remote: Compressing objects: 100% (49/49), done.remote: Compressing objects:  83% (41/49)
remote: Total 63 (delta 19), reused 40 (delta 10), pack-reused 0
Receiving objects: 100% (63/63), 15.62 KiB | 533.00 KiB/s, done.Receiving objects:  87% (55/63)Receiving objects:  50% (32/63)Receiving objects:  33% (21/63)
Resolving deltas: 100% (19/19), done.
Detecting main repo language...
Detected 'Go' as the main repository language.
Error response from daemon: invalid mount config for type "bind": bind source path does not exist: /var/folders/g9/96m0c6rx2297y5f13b8kbg9m009nff/T/volume-compose-dev-env-peaceful_chatelet

@GoshaFighten
Copy link

Still getting this error on Ubuntu 22.04:

Error response from daemon: invalid mount config for type "bind": bind source path does not exist: /tmp/volume-compose-dev-env-clever_ishizaka

Screenshot_20220517_175336

The Enable Docker Compose V1/V2 compatibility mode option is enabled:

Screenshot_20220517_180234-1

Docker Desktop version is 4.8.1 (78998):

Screenshot_20220517_181049

@didiercapozzi
Copy link

I have the exact same issue

@jrhorn424
Copy link

It worked as expected for me using latest Docker Desktop (v4.10.1).

@zzhouj
Copy link

zzhouj commented Aug 16, 2022

Add "/tmp" folder to Settings/Resources/File sharing, if you meet problem like me: "Error response from daemon: invalid mount config for type "bind": bind source path does not exist: /tmp/volume-compose-dev-env-romantic_brown"

plcpp-2 pushed a commit to plcpp-2/compose-dev-env that referenced this issue Aug 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants