Open Pk13055 opened 1 year ago
This is bug in the containerd integration experimental feature. I think it's already fixed by 94ad7e83. Could you try to reproduce this issue on latest Docker Desktop version?
After updating to the latest version Server: Docker Desktop 4.16.2 (95914)
, I am now facing this error:
Error response from daemon: platform unknown not supported
^^ @jedevc @crazy-max @tonistiigi could that be part of the buildx / buildkit changes?
Are there any updates on this? Turns out some (previously working) projects with compose have stopped working (throwing up the error above). I have rollbacked to 4.15.0 for the time being. This still throws the error in the title but at least most commands work
@Pk13055 do you have some more detailed reproduction instructions?
I think I can get the same result, but I'm curious if you find it anywhere else:
docker buildx create --driver docker-container --bootstrap --name container
--builder
in build$ docker buildx build -t testing . --builder container
WARNING: No output specified with docker-container driver. Build result will only remain in the build cache. To push result image into registry use --push or to load image into docker use --load
[+] Building 0.1s (1/1) FINISHED
=> ERROR [internal] booting buildkit 0.1s
=> => starting container buildx_buildkit_container0 0.1s
------
> [internal] booting buildkit:
------
ERROR: Error response from daemon: platform unknown not supported
If you leave off the --bootstrap
, so the build container is never actually created, you get a different error message:
$ docker buildx build -t testing . --builder container
WARNING: No output specified with docker-container driver. Build result will only remain in the build cache. To push result image into registry use --push or to load image into docker use --load
[+] Building 0.1s (1/1) FINISHED
=> ERROR [internal] booting buildkit 0.1s
=> => starting container buildx_buildkit_container0 0.1s
------
> [internal] booting buildkit:
------
ERROR: Error response from daemon: get buildx_buildkit_container0_state: no such volume
Doing the reverse, and then going back to disabling the containerd feature - also seems to be fun:
$ buildx create --driver docker-container --name container --bootstrap
[+] Building 0.1s (1/1) FINISHED
=> ERROR [internal] booting buildkit 0.1s
=> => starting container buildx_buildkit_container0 0.1s
------
> [internal] booting buildkit:
------
container
I found that removing the builder and recreating resolved the issue - but I think there's something here that needs fixing?
Same here. Not ideal, but disabled containerd in the Features in development section of the config and I can run/build them again
So investigated this - I think there's some bad state that ends up somewhere in the container/image store. I wonder if this is maybe left over from previous versions of the containerd store work that could have been buggier? Not sure.
You can remove the state by a clean / purge data in the debug menu in docker desktop - if you have a reproducer though, that would be excellent.
Hum I wonder if this is also not related to https://github.com/docker/buildx/issues/1536 (cc @AkihiroSuda)
Hum I wonder if this is also not related to docker/buildx#1536 (cc @AkihiroSuda)
Not sure. Isn't that one about KUBECONFIG?
Description
On running certain commands (eg
docker ps -a
) the daemon errors out withDue to this error, even the docker desktop cannot load data for certain extensions (
disk-usage
,resource-usage
) Suprisingly,docker compose ps -a
does work without any issues.Reproduce
(This may work for you)
docker ps -a
Expected behavior
docker ps -a
should show all running/stopped containersdocker version
docker info
Additional Info
This is on an M1 Mac running MacOS 13.1