#2106·kompose

[BUG] go install github.com/kubernetes/kompose@latest is not working correctly

Author: yshnggCreated Jul 25, 2026Updated Jul 25, 2026
Labelskind/bug

Expected Behavior

It should be installed like other go binary.

Actual Behavior

bash
yshngg@forge ~> go install github.com/kubernetes/kompose@latest
go: github.com/kubernetes/kompose@latest (in github.com/kubernetes/[email protected]):
	The go.mod file for the module providing named packages contains one or
	more replace directives. It must not contain directives that would cause
	it to be interpreted differently than if it were the main module.

Steps To Reproduce

No response

Kompose Version

latest 1.38.0

Docker-Compose file

yaml

Anything else?

https://github.com/golang/go/issues/44840