#Hey Guys, I'm getting issue with dagger init --sdk=go start engine: no fallback container found

1 messages · Page 1 of 1 (latest)

thick summit
#

dagger init --sdk=go
✘ connect 0.0s
! start engine: no fallback container found
✘ starting engine 0.0s
! no fallback container found
✘ create 0.0s
! no fallback container found
┃ 17:06:23 WRN failed to resolve image; falling back to leftover engine error="error getting credentials - err: exec: "docker-credential-desktop": executable file not found in $PATH, out: ``"
┃ 17:06:23 WRN failed to list containers error="exit status 1"

Error: start engine: no fallback container found

steady flicker
#

What platform is this? Also, do you have docker installed?

tawdry blaze
#

The error looks like perhaps you are running docker in a container, with a docker config copied from outside the container (probably from a mac). Or some other variation of that problem.

Or, perhaps you have a conflict between Docker for Mac, and one of its clones (colima, podman machine, orbstack etc)

thick summit
steady flicker
thick summit
tawdry blaze
#

What happens if you manually call docker run or docker pull? For example

docker pull registry.dagger.io/engine:v0.11.9
safe berry
# tawdry blaze What happens if you manually call `docker run` or `docker pull`? For example ``...

I have the same error and when I run this command, it pulls the image as expected.

Output:

Trying to pull registry.dagger.io/engine:v0.11.9...
Getting image source signatures
Copying blob 10840b3d4602 done  
Copying blob 2086b7bec057 done  
Copying blob 54d2989a8d54 done  
Copying blob 0295f9a532e1 done  
Copying blob d25f557d7f31 done  
Copying blob dfc6fabe5762 done  
Copying blob 43b161ce766d done  
Copying blob b5ddeb482384 done  
Copying blob 71d89fab85e3 done  
Copying blob 6e17b727ee8b done  
Copying blob ee4bb7ce4507 done  
Copying blob 6e2c00fa7405 done  
Copying blob fb53e1dec441 done  
Copying blob aba0abc10b31 done  
Copying blob 1c56ed28cf5b done  
Copying blob 02c503a51e1e done  
Copying blob 5bc036809c19 done  
Copying blob ddd0e586b5a4 done  
Copying blob d0506f8a03be done  
Copying blob 465be4276490 done  
Copying blob 1abc30d12401 done  
Copying blob 47edd45b4328 done  
Copying blob ccfda91f1969 done  
Copying blob 30e0b1c6170e done  
Copying blob ebfd21491d0a done  
Copying blob f29dd5bebe91 done  
Copying blob 0ac645437ec1 done  
Copying blob c6b6c81b96c5 done  
Copying config 197b27c657 done  
Writing manifest to image destination
Storing signatures
197b27c657552fdba0b9dff313a1ba4bbe86acc5a1fa21feebbb3101ea75fa09

I get this error when running:

dagger init --sdk=python

Command output

✘ connect 0.2s
! start engine: no fallback container found
  ✘ starting engine 0.2s
  ! no fallback container found
    ✘ create 0.2s
    ! no fallback container found
    ┃ 05:15:39 WRN failed to resolve image; falling back to leftover engine error="error getting credentials - err: exec: \"docker-credential-desktop\": executable file not found in $PATH,
    ┃ ``"                                                                                                                                                                                   
Error: start engine: no fallback container found
#

My os is Kubuntu LTS 22.04

solar glade
#

@thick summit, gentle ping to check if the above's solution worked for you.

thick summit