-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
install extention occur exception #8
Comments
Thanks @shifengbin What happens if you remove the extension and retry installation, do you get the same problem. Can you please confirm the version of Docker Desktop that you're using, also, the version of windows (windows r, winver) |
@spurin Thank you for replying |
Thanks @shifengbin I'll recreate this in my environment and will check today, in the interim, please make use of the google cloud shell version 👍 |
@shifengbin could you please try removing Docker Desktop, and installing 4.33 I think, looking through this error that they may have updated compose internally and possibly, it's introduced this issue: docker/compose#10804 I will check it but going back one version might be a quick fix here. |
@spurin All right, I shall make an attempt. Thank you. |
Hi @shifengbin, I just tried this on a new install of Docker Desktop 4.34.3, my Windows 11 is23H2 2261.4317 and is all is completely fine. I'm a bit stuck as to why this is an issue for you. Please let me know what you get as the following -
|
Docker Compose version v2.16.0 Client: Server: Docker Desktop 4.34.3 (170107) |
Interesting, I don't know why but our compose versions are significantly different. When I run docker compose version (or docker-compose version) I get v2.29.2-desktop.2 which corresponds roughly to the time period of 4.34.3, you however, get v2.16.0 which is from February 2023. The rest of the output matches. Something isn't correct with your docker installation and/or, it's picking up an old version of docker-compose from somewhere. Typically, docker-compose is installed as a binary in C:\Program Files\Docker\cli-plugins and in windows, any of these docker- binaries become docker commands. For example docker compose Would run C:\Program Files\Docker\cli-plugins\docker-compose I think, if we can fix your docker installation then all will be well. Please try removing Docker fully, making sure there's no rogue docker-compose.exe binaries hanging around and then re-install. When you run docker compose version, it should say v2.29.2-desktop.2 for the current version of 4.34.3. Hope this helps! Please let me know how you get on. |
@spurin, thank you. I tested the docker compose version and the docker-compose version. There was a discrepancy. Subsequently, I removed the ".docker/cli-plugins" directory in my home directory, and it functioned properly. |
Thanks @shifengbin This is a very unusual one, first time I've seen it. Glad we were able to get it resolved and hope you enjoy the rest of the course. Appreciate you confirming and closing the issue. |
os: windows11
arch: amd64
log:
Image not available locally, pulling spurin/diveintokubernetes-introduction-lab-extension...
Extracting metadata and files for the extension "spurin/diveintokubernetes-introduction-lab-extension"
Installing service in Desktop VM...
Setting additional compose attributes
Installing Desktop extension UI for tab "Dive Into Kubernetes"...
Extension UI tab "Dive Into Kubernetes" added.
Starting service in Desktop VM......
failed when running compose up for extension spurin/diveintokubernetes-introduction-lab-extension: executing 'C:\Program Files\Docker\Docker\resources\bin\docker --context desktop-linux compose -p spurin_diveintokubernetes-introduction-lab-extension-desktop-extension -f C:\Users\xxx\AppData\Roaming\Docker\extensions\spurin_diveintokubernetes-introduction-lab-extension\vm\docker-compose.yaml up -d' : exit status 15:
services.portal.depends_on.control-plane Additional property required is not allowed
executing 'C:\Program Files\Docker\Docker\resources\bin\docker --context desktop-linux compose -p spurin_diveintokubernetes-introduction-lab-extension-desktop-extension -f C:\Users\xxx\AppData\Roaming\Docker\extensions\spurin_diveintokubernetes-introduction-lab-extension\vm\docker-compose.yaml up -d' : exit status 15:
services.portal.depends_on.control-plane Additional property required is not allowed
Removing extension spurin/diveintokubernetes-introduction-lab-extension...
Removing extension containers...
Extension containers removed
Extension UI tab Dive Into Kubernetes removed
Extension image spurin/diveintokubernetes-introduction-lab-extension removed
Extension "Dive Into Kubernetes" removed
installation could not be completed due to: executing 'C:\Program Files\Docker\Docker\resources\bin\docker --context desktop-linux compose -p spurin_diveintokubernetes-introduction-lab-extension-desktop-extension -f C:\Users\xxx\AppData\Roaming\Docker\extensions\spurin_diveintokubernetes-introduction-lab-extension\vm\docker-compose.yaml up -d' : exit status 15:
services.portal.depends_on.control-plane Additional property required is not allowed
The text was updated successfully, but these errors were encountered: