lazydocker icon indicating copy to clipboard operation
lazydocker copied to clipboard

Docker image missing 1.20-3.15

Open devregnfo opened this issue 2 years ago • 5 comments

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!

devregnfo avatar Oct 30 '23 21:10 devregnfo

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

turbcool avatar Nov 01 '23 20:11 turbcool

@turbcool does this PR help?

It bumps ALPINE_VERSION to 3.17.

mark2185 avatar Nov 01 '23 20:11 mark2185

@turbcool does this PR help?

It bumps ALPINE_VERSION to 3.17.

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

turbcool avatar Nov 04 '23 17:11 turbcool

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

wolkenschieber avatar Mar 03 '24 09:03 wolkenschieber

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"

mrhenry549 avatar Jun 14 '24 11:06 mrhenry549