Skip to content
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

After switchiung to Windows Container Docker dont start #13715

Open
Roberto-vic opened this issue Oct 1, 2023 · 3 comments
Open

After switchiung to Windows Container Docker dont start #13715

Roberto-vic opened this issue Oct 1, 2023 · 3 comments

Comments

@Roberto-vic
Copy link

Roberto-vic commented Oct 1, 2023

Description

I'm learning to use Docker, and I have to make the switch from Linux Container to Windows Container, but as soon as I make the switch, Docker no longer connects.
If I want to make the switch, to go back to linux container, Docker Desktop closes, and when I reopen it gives me an error window, and I can no longer reopen the program

Reproduce

Right click to Docker Icons and select "switch to windows container.."

Expected behavior

No response

docker version

request returned Internal Server Error for API route and version http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/version, check if the server supports the requested API version
Client:
 Cloud integration: v1.0.35+desktop.5
 Version:           24.0.6
 API version:       1.43
 Go version:        go1.20.7
 Git commit:        ed223bc
 Built:             Mon Sep  4 12:32:48 2023
 OS/Arch:           windows/amd64
 Context:           default

docker info

Client:
 Version:    24.0.6
 Context:    default
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.11.2-desktop.5
    Path:     C:\Program Files\Docker\cli-plugins\docker-buildx.exe
  compose: Docker Compose (Docker Inc.)
    Version:  v2.22.0-desktop.2
    Path:     C:\Program Files\Docker\cli-plugins\docker-compose.exe
  dev: Docker Dev Environments (Docker Inc.)
    Version:  v0.1.0
    Path:     C:\Program Files\Docker\cli-plugins\docker-dev.exe
  extension: Manages Docker extensions (Docker Inc.)
    Version:  v0.2.20
    Path:     C:\Program Files\Docker\cli-plugins\docker-extension.exe
  init: Creates Docker-related starter files for your project (Docker Inc.)
    Version:  v0.1.0-beta.8
    Path:     C:\Program Files\Docker\cli-plugins\docker-init.exe
  sbom: View the packaged-based Software Bill Of Materials (SBOM) for an image (Anchore Inc.)
    Version:  0.6.0
    Path:     C:\Program Files\Docker\cli-plugins\docker-sbom.exe
  scan: Docker Scan (Docker Inc.)
    Version:  v0.26.0
    Path:     C:\Program Files\Docker\cli-plugins\docker-scan.exe
  scout: Docker Scout (Docker Inc.)
    Version:  v1.0.7
    Path:     C:\Program Files\Docker\cli-plugins\docker-scout.exe

Server:
ERROR: request returned Internal Server Error for API route and version http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/info, check if the server supports the requested API version
errors pretty printing info

Diagnostics ID

C3BE33FC-4C8B-4336-B246-2BCE31B85415/20231001122410

Additional Info

No response

@lorenrh lorenrh added status/duplicate Already being tracked on another issue and removed needs-triage labels Oct 2, 2023
@lorenrh
Copy link
Member

lorenrh commented Oct 2, 2023

Hi there!

Thanks for your report, I'll mark this as duplicate of #13709 and close the issue. We'll escalate this internally. So please follow updates on the other issue. Thanks!

@lorenrh lorenrh closed this as completed Oct 2, 2023
@chelnak
Copy link

chelnak commented Oct 5, 2023

Hey @Roberto-vic , I've been investigating this issue and have found that it isn't a duplicate.

From the diagnostics you provided I could see that you are running a Home edition of Windows. I found a small bug that causes the Switch to Windows Containers menu item to show, even if the edition of Windows is not supported.

I'm working on a fix and will update the ticket once it's confirmed.

Have a great day!

@lorenrh lorenrh reopened this Oct 5, 2023
@lorenrh lorenrh added status/acknowledged and removed status/duplicate Already being tracked on another issue labels Oct 5, 2023
@Grasume
Copy link

Grasume commented Nov 2, 2023

Looks like multiple people are having issues due to changes here by @chelnak #13761 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants