Closed gasperz closed 1 year ago
Hi @gasperz - I imagine the problem is that you have an invalid statement in your ~/.docker/daemon.json
Please remove the line that has docker-credential-desktop
in it.
It looks like you're probably on macOS and maybe you recently switched from Docker Desktop (which uses that file) to Colima or OrbStack.
This is from my daemon.json. I am on macOS and I did switch from Docker Desktop. But some time ago. I have created a few ddev projects with colima. But not recently.
{
"builder": { "gc": { "defaultKeepStorage": "20GB", "enabled": true } },
"experimental": false,
"features": { "buildkit": true }
}
Sorry, I was wrong about the file. It's .docker/config.json
See
And what it says is true; remove the file or remove the line.
Thank you very much!!! I have removed the line from my ~/.docker/config.json
"credsStore": "desktop"
This did solved my problem.
Thank you again.
I cannot add adminer to the new drupal project. I can add and use PhpMyAdmin though. I am posting here, but to be honest I don't know if the problem is here or maybe in https://hub.docker.com/_/adminer. Can you please direct me on how to solve this, or what else can I try?
Thank you, GaΕ‘per
~/D/t/o/drupal $ ddev get ddev/ddev-adminer Installing ddev/ddev-adminer:v0.2.2 Downloading https://api.github.com/repos/ddev/ddev-adminer/tarball/v0.2.2 v0.2.2_3499327078.tar.gz 7.94 KiB / ? [------------------------------------------------------------=----------------------------] 81.29% 0s
Installing project-level components: π docker-compose.adminer.yaml π adminer/Dockerfile π adminer/ddev-login.php
Installing global components: π commands/host/launcha
Installed DDEV add-on ddev/ddev-adminer, use
ddev restart
to enable. Please read instructions for this addon at the source repo at https://github.com/ddev/ddev-adminer Please file issues and create pull requests there to improve it. Installed adminer:v0.2.2 from ddev/ddev-adminer ~/D/t/o/drupal $ ddev restart Restarting project drupal... Container ddev-drupal-phpmyadmin Stopped Container ddev-drupal-db Stopped Container ddev-drupal-web Stopped Container ddev-drupal-web Stopped Container ddev-drupal-phpmyadmin Stopped Container ddev-drupal-phpmyadmin Removed Container ddev-drupal-db Stopped Container ddev-drupal-db Removed Container ddev-drupal-web Removed Network ddev-drupal_default Removed failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to create LLB definition: rpc error: code = Unknown desc = error getting credentials - err: exec: "docker-credential-desktop": executable file not found in $PATH, out:Failed to restart drupal: docker-compose build failed: ComposeCmd failed to run 'COMPOSE_PROJECT_NAME=ddev-drupal docker-compose -f /Users/gasperznidarsicbecaj/Delo/tadeja/online-feldenkrais/drupal/.ddev/.ddev-docker-compose-full.yaml --progress=quiet build', action='[--progress=quiet build]', err='exit status 17', stdout='', stderr='failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to create LLB definition: rpc error: code = Unknown desc = error getting credentials - err: exec: "docker-credential-desktop": executable file not found in $PATH, out:
', output='', stderr='failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to create LLB definition: rpc error: code = Unknown desc = error getting credentials - err: exec: "docker-credential-desktop": executable file not found in $PATH, out: ``'