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

docker-outside-of-docker: UriError with go bookworm image #1173

Open
Resteklicken opened this issue Nov 5, 2024 · 0 comments
Open

docker-outside-of-docker: UriError with go bookworm image #1173

Resteklicken opened this issue Nov 5, 2024 · 0 comments

Comments

@Resteklicken
Copy link

I tried to add the "docker-outside-of-docker" devcontainer feature to the devcontainer with the spec below. Upon building I immediately get an error dialog from VSCode:
"[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash character".

The feature works fine if I use any Ubuntu base images like "mcr.microsoft.com/devcontainers/base:noble".
My host machine is running Windows 11.

{
	"name": "Go",
	"image": "mcr.microsoft.com/devcontainers/go:1-1.22-bookworm",
	"features": {
		"ghcr.io/dhoeric/features/google-cloud-cli:1": {},
		"ghcr.io/jungaretti/features/make:1": {},
		"ghcr.io/warrenbuckley/codespace-features/sqlite:1": {},
		"ghcr.io/nucleuscloud/devcontainer-features/sqlc:1": {
			"version": "latest"
		},
		"ghcr.io/devcontainers/features/python:1": {
			"version": "3.12"
		},
                "ghcr.io/devcontainers/features/docker-outside-of-docker:1": {}
	},
	"customizations": {
		"vscode": {
			"extensions": [
				"golang.go",
				"42Crunch.vscode-openapi",
				"zxh404.vscode-proto3"
			]
		}
	}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant