Skip to content

Cannot build from source on Ubuntu 24.04: undefined: registry.ServiceConfig #711

@kierun

Description

@kierun

Describe the bug

Cannot build from source on Ubuntu 24.04

To Reproduce

  1. Login into a machine running Ubunutu 24.04
  2. Install golang from apt.
  3. Run go install github.com/jesseduffield/lazydocker@latest
  4. See error

Expected behaviour

I expected it to install.

Screenshots

All I get is the following error message:

# github.com/docker/docker/api/types/system
go/pkg/mod/github.com/docker/[email protected]+incompatible/api/types/system/info.go:51:31: undefined: registry.ServiceConfig

Desktop (please complete the following information):

  • OS: Ubuntu 24.04
  • Lazydocker Version: latest.

Additional context

; lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 24.04.3 LTS
Release:        24.04
Codename:       noble
✓ ; go version
go version go1.22.2 linux/amd64
✓ ; go install github.com/jesseduffield/lazydocker@latest
# github.com/docker/docker/api/types/system
go/pkg/mod/github.com/docker/[email protected]+incompatible/api/types/system/info.go:51:31: undefined: registry.ServiceConfig

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions