microsoft / vscode-remote-try-dotnet

.NET sample project for trying out Dev Containers
https://aka.ms/vscode-remote/containers/getting-started
MIT License
230 stars 180 forks source link

Error building example container: experimental session with v1 builder is no longer supported #17

Closed hlogmans closed 3 years ago

hlogmans commented 4 years ago

Hi all,

I just stumbled upon this repo when trying out the Remote Containers functionality in VSCode. The Node example works fine out of the box, but this example gives an error when the container is initially build:

Sending build context to Docker daemon  8.704kB
Error response from daemon: experimental session with v1 builder is no longer supported, use builder version v2 (BuildKit) instead.

A bit of searching leads to suspecting latest updates of docker do cause this problem since a few weeks.

Bit extra info: MacOS Catalina 10.15.7 Docker 2.4.2.0 (Edge)

Update: turning off 'experimental features' in Docker resolves the problem. I will leave this open as you might want to address this, but feel free to close if there is nothing you can do about it.

hlogmans commented 3 years ago

It is fixed in Docker, and not some upcoming feature that will bite in the future:

https://github.com/docker/docker-ce/commit/95971a49f97defa51b166211fbd6d44080540a62

So I close this.