jesseduffield / lazydocker

The lazier way to manage everything docker
MIT License
36.58k stars 1.18k forks source link

Docker image missing 1.20-3.15 #497

Open devregnfo opened 11 months ago

devregnfo commented 11 months ago

I'm trying to figure out installing the Docker image. I got this error building the image with docker : " => ERROR [internal] load metadata for docker.io/library/golang:1.20-alpine3.15 "

I went to the docker hub, to GOLANG as stated in the DOCKFILE, but that particular image and tag isn't found... only other setups. Am I missing something? I'm completely new to this.

Thanks!

turbcool commented 11 months ago

Having same problem when trying to build docker image on an arm64 device. The command is docker build -t lazyteam/lazydocker --build-arg BASE_IMAGE_BUILDER=arm64v8/golang --build-arg GOARCH=arm64 https://github.com/jesseduffield/lazydocker.git

mark2185 commented 11 months ago

@turbcool does this PR help?

It bumps ALPINE_VERSION to 3.17.

turbcool commented 11 months ago

@turbcool does this PR help?

It bumps ALPINE_VERSION to 3.17.

Yes, I successfully built lazydocker on arm64v8 with this change.

wolkenschieber commented 7 months ago

For completeness here's a working compose-file for arm:

---
version: '3'

services:
  lazydocker:
    build:
      context: https://github.com/jesseduffield/lazydocker.git
      args:
        ALPINE_VERSION: 3.19
        BASE_IMAGE_BUILDER: arm64v8/golang
        GOARCH: arm64
    platform: linux/arm64/v8
    image: lazyteam/lazydocker
    container_name: lazydocker
    stdin_open: true
    tty: true
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - ./config:/.config/jesseduffield/lazydocker
mrhenry549 commented 3 months ago

For completeness here's a working compose-file for arm:

---
version: '3'

services:
  lazydocker:
    build:
      context: https://github.com/jesseduffield/lazydocker.git
      args:
        ALPINE_VERSION: 3.19
        BASE_IMAGE_BUILDER: arm64v8/golang
        GOARCH: arm64
    platform: linux/arm64/v8
    image: lazyteam/lazydocker
    container_name: lazydocker
    stdin_open: true
    tty: true
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - ./config:/.config/jesseduffield/lazydocker

Even with this script, I can't build a new image for RPi5. Here's the error message:

failed to deploy a stack: lazydocker Pulling 918b6dda5902 Pulling fs layer b30b0aa1773c Pulling fs layer b30b0aa1773c Downloading [> ] 37.46kB/3.67MB b30b0aa1773c Downloading [=======================> ] 1.755MB/3.67MB b30b0aa1773c Verifying Checksum b30b0aa1773c Download complete 918b6dda5902 Downloading [> ] 138.8kB/13.55MB 918b6dda5902 Downloading [=======> ] 1.907MB/13.55MB 918b6dda5902 Downloading [=========> ] 2.657MB/13.55MB 918b6dda5902 Downloading [===============> ] 4.131MB/13.55MB 918b6dda5902 Downloading [=========================> ] 6.92MB/13.55MB 918b6dda5902 Downloading [===============================> ] 8.551MB/13.55MB 918b6dda5902 Downloading [=====================================> ] 10.17MB/13.55MB 918b6dda5902 Downloading [============================================> ] 11.93MB/13.55MB 918b6dda5902 Downloading [==================================================>] 13.55MB/13.55MB 918b6dda5902 Extracting [> ] 163.8kB/13.55MB 918b6dda5902 Extracting [======================> ] 6.062MB/13.55MB 918b6dda5902 Extracting [=================================================> ] 13.43MB/13.55MB 918b6dda5902 Extracting [==================================================>] 13.55MB/13.55MB 918b6dda5902 Pull complete b30b0aa1773c Extracting [> ] 65.54kB/3.67MB b30b0aa1773c Extracting [==================================================>] 3.67MB/3.67MB b30b0aa1773c Pull complete listing workers for Build: failed to list workers: Unavailable: connection error: desc = "error reading server preface: http2: frame too large"