

Changes for building and deploying in Google Cloud.Transition to repositories with gcr.io domain support.I verified this with which docker-credential-desktop and it now shows the location specified in the symlink above. bashrc to update PATH and the problem was resolved. Lrwxrwxrwx 1 root root 67 Jan 12 14:22 /usr/bin/docker-credential-desktop -> /wsl/docker-desktop/cli-tools/usr/bin/docker-credential-desktop.exeĪfter that I sourced. exe and check it worked: sudo ln -s /wsl/docker-desktop/cli-tools/usr/bin/docker-credential-desktop.exe ls -l /usr/bin/docker-credential-desktop Lrwxrwxrwx 1 root root 67 Jan 5 23:15 /usr/bin/docker-credential-desktop.exe -> sudo rm /usr/bin/docker-credential-desktop.exe To check the link and remove it: ls -l /usr/bin/docker-credential-desktop.exe To fix this I simply removed the symlink and created a new one without. After a quick google, it seems like enabling the wsl2 backend in Docker Desktop for Windows 10 symlinks wsl/docker-desktop/cli-tools/usr/bin/docker-credentials-desktop.exe to /usr/bin/docker-credential-desktop.exe. Upon further inspection I found that docker-credential-desktop.exe was in PATH however. Running which docker-credential-desktop showed no results I was getting : docker-credential-desktop not installed or not available in PATH when running sam build -use-container. I ran into a similar issue using wsl2 on windows 10 while trying to locally invoke an aws lambda function. What can I check to make sure that I use the docker installations from home-brew and wipe/correct the installations made from steps above? Which docker prints /usr/local/bin/docker.īrew installations are in /usr/local/Cellar/docker/20.10.6 and /usr/local/Cellar/docker-compose/1.29.2.Īs I see there is also a home-brew for docker-machine should I install docker-machine via home-brew instead? I now installed docker-compose (docker-compose version 1.29.2, build unknown) with home-brew but when running docker-compose up I get the following error:ĭ: docker-credential-desktop not installed or not available in PATH Install VirtualBox, ExtensionPack and SDK: Sudo wget "$base/contrib/completion/bash/$" -P /etc/bash_completion.dĮcho \W$(_docker_machine_ps1)]\$ '' > ~/.bashrc Install Xcode CLI.manually from dev accountįor i in docker-machine-prompt.bash docker-machine-wrapper.bash docker-machine.bash I might have a bit of a messed Docker installation on my Mac.Īt first I installed Docker desktop but then running it I learned that as I'm on an older Mac I had to install VirtualBox so I did following these steps:Įnable writing on the /usr/local/bin folder for userĬurl -L $base/docker-machine-$(uname -s)-$(uname -m) >/usr/local/bin/docker-machine &
