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

allways without cache: Unable to find image 'busybox:latest' locally #1

Closed
MaxPeal opened this issue Aug 25, 2021 · 4 comments · Fixed by #2
Closed

allways without cache: Unable to find image 'busybox:latest' locally #1

MaxPeal opened this issue Aug 25, 2021 · 4 comments · Fixed by #2

Comments

@MaxPeal
Copy link

MaxPeal commented Aug 25, 2021

i think this is a bug not using the cache:

user@debian:/tmp$ time sudo hydrun -a amd64,arm64,riscv64,ppc64le,s390x,386,arm/v7,arm/v6 -o busybox -i "uname -a"
2021/08/25 18:35:19 /usr/bin/docker run -it -v /tmp:/data:z --platform linux/amd64 busybox /bin/sh -c cd /data && uname -a
Unable to find image 'busybox:latest' locally
latest: Pulling from library/busybox
Digest: sha256:b37dd066f59a4961024cf4bed74cae5e68ac26b48807292bd12198afa3ecb778
Status: Downloaded newer image for busybox:latest
Linux 36ef5c9e8638 5.10.0-8-amd64 #1 SMP Debian 5.10.46-4 (2021-08-03) x86_64 GNU/Linux
2021/08/25 18:35:22 /usr/bin/docker run -it -v /tmp:/data:z --platform linux/arm64 busybox /bin/sh -c cd /data && uname -a
Unable to find image 'busybox:latest' locally
latest: Pulling from library/busybox
Digest: sha256:b37dd066f59a4961024cf4bed74cae5e68ac26b48807292bd12198afa3ecb778
Status: Downloaded newer image for busybox:latest
Linux 2e3d3a51835a 5.10.0-8-amd64 #1 SMP Debian 5.10.46-4 (2021-08-03) aarch64 GNU/Linux
2021/08/25 18:35:24 /usr/bin/docker run -it -v /tmp:/data:z --platform linux/riscv64 busybox /bin/sh -c cd /data && uname -a
Unable to find image 'busybox:latest' locally
latest: Pulling from library/busybox
Digest: sha256:b37dd066f59a4961024cf4bed74cae5e68ac26b48807292bd12198afa3ecb778
Status: Downloaded newer image for busybox:latest
Linux fb05d35f6250 5.10.0-8-amd64 #1 SMP Debian 5.10.46-4 (2021-08-03) riscv64 GNU/Linux
2021/08/25 18:35:27 /usr/bin/docker run -it -v /tmp:/data:z --platform linux/ppc64le busybox /bin/sh -c cd /data && uname -a
Unable to find image 'busybox:latest' locally
latest: Pulling from library/busybox
Digest: sha256:b37dd066f59a4961024cf4bed74cae5e68ac26b48807292bd12198afa3ecb778
Status: Downloaded newer image for busybox:latest
Linux 98837bbe6814 5.10.0-8-amd64 #1 SMP Debian 5.10.46-4 (2021-08-03) ppc64le GNU/Linux
2021/08/25 18:35:30 /usr/bin/docker run -it -v /tmp:/data:z --platform linux/s390x busybox /bin/sh -c cd /data && uname -a
Unable to find image 'busybox:latest' locally
latest: Pulling from library/busybox
Digest: sha256:b37dd066f59a4961024cf4bed74cae5e68ac26b48807292bd12198afa3ecb778
Status: Downloaded newer image for busybox:latest
Linux 8db4e8ba787b 5.10.0-8-amd64 #1 SMP Debian 5.10.46-4 (2021-08-03) s390x GNU/Linux
2021/08/25 18:35:33 /usr/bin/docker run -it -v /tmp:/data:z --platform linux/386 busybox /bin/sh -c cd /data && uname -a
Unable to find image 'busybox:latest' locally
latest: Pulling from library/busybox
Digest: sha256:b37dd066f59a4961024cf4bed74cae5e68ac26b48807292bd12198afa3ecb778
Status: Downloaded newer image for busybox:latest
Linux 1aeb1e13768b 5.10.0-8-amd64 #1 SMP Debian 5.10.46-4 (2021-08-03) x86_64 GNU/Linux
2021/08/25 18:35:35 /usr/bin/docker run -it -v /tmp:/data:z --platform linux/arm/v7 busybox /bin/sh -c cd /data && uname -a
Unable to find image 'busybox:latest' locally
latest: Pulling from library/busybox
Digest: sha256:b37dd066f59a4961024cf4bed74cae5e68ac26b48807292bd12198afa3ecb778
Status: Downloaded newer image for busybox:latest
Linux eabfae95557c 5.10.0-8-amd64 #1 SMP Debian 5.10.46-4 (2021-08-03) armv7l GNU/Linux
2021/08/25 18:35:38 /usr/bin/docker run -it -v /tmp:/data:z --platform linux/arm/v6 busybox /bin/sh -c cd /data && uname -a
Unable to find image 'busybox:latest' locally
latest: Pulling from library/busybox
Digest: sha256:b37dd066f59a4961024cf4bed74cae5e68ac26b48807292bd12198afa3ecb778
Status: Downloaded newer image for busybox:latest
Linux 8b160c162ea6 5.10.0-8-amd64 #1 SMP Debian 5.10.46-4 (2021-08-03) armv7l GNU/Linux

real	0m21.977s
user	0m0.232s
sys	0m0.142s
user@debian:/tmp$ time sudo hydrun -a amd64,arm64,riscv64,ppc64le,s390x,386,arm/v7,arm/v6 -o busybox -i "uname -a"
2021/08/25 18:35:43 /usr/bin/docker run -it -v /tmp:/data:z --platform linux/amd64 busybox /bin/sh -c cd /data && uname -a
Unable to find image 'busybox:latest' locally
latest: Pulling from library/busybox
Digest: sha256:b37dd066f59a4961024cf4bed74cae5e68ac26b48807292bd12198afa3ecb778
Status: Downloaded newer image for busybox:latest
Linux 26b1ce26d590 5.10.0-8-amd64 #1 SMP Debian 5.10.46-4 (2021-08-03) x86_64 GNU/Linux
2021/08/25 18:35:46 /usr/bin/docker run -it -v /tmp:/data:z --platform linux/arm64 busybox /bin/sh -c cd /data && uname -a
Unable to find image 'busybox:latest' locally
latest: Pulling from library/busybox
Digest: sha256:b37dd066f59a4961024cf4bed74cae5e68ac26b48807292bd12198afa3ecb778
Status: Downloaded newer image for busybox:latest
Linux 779a7ce6cad1 5.10.0-8-amd64 #1 SMP Debian 5.10.46-4 (2021-08-03) aarch64 GNU/Linux
2021/08/25 18:35:49 /usr/bin/docker run -it -v /tmp:/data:z --platform linux/riscv64 busybox /bin/sh -c cd /data && uname -a
Unable to find image 'busybox:latest' locally
latest: Pulling from library/busybox
Digest: sha256:b37dd066f59a4961024cf4bed74cae5e68ac26b48807292bd12198afa3ecb778
Status: Downloaded newer image for busybox:latest
Linux 93c8c9121232 5.10.0-8-amd64 #1 SMP Debian 5.10.46-4 (2021-08-03) riscv64 GNU/Linux
2021/08/25 18:35:52 /usr/bin/docker run -it -v /tmp:/data:z --platform linux/ppc64le busybox /bin/sh -c cd /data && uname -a
Unable to find image 'busybox:latest' locally
latest: Pulling from library/busybox
Digest: sha256:b37dd066f59a4961024cf4bed74cae5e68ac26b48807292bd12198afa3ecb778
Status: Downloaded newer image for busybox:latest
Linux 053cbd0649ed 5.10.0-8-amd64 #1 SMP Debian 5.10.46-4 (2021-08-03) ppc64le GNU/Linux
2021/08/25 18:35:55 /usr/bin/docker run -it -v /tmp:/data:z --platform linux/s390x busybox /bin/sh -c cd /data && uname -a
Unable to find image 'busybox:latest' locally
latest: Pulling from library/busybox
Digest: sha256:b37dd066f59a4961024cf4bed74cae5e68ac26b48807292bd12198afa3ecb778
Status: Downloaded newer image for busybox:latest
Linux 7638e5865104 5.10.0-8-amd64 #1 SMP Debian 5.10.46-4 (2021-08-03) s390x GNU/Linux
2021/08/25 18:35:57 /usr/bin/docker run -it -v /tmp:/data:z --platform linux/386 busybox /bin/sh -c cd /data && uname -a
Unable to find image 'busybox:latest' locally
latest: Pulling from library/busybox
Digest: sha256:b37dd066f59a4961024cf4bed74cae5e68ac26b48807292bd12198afa3ecb778
Status: Downloaded newer image for busybox:latest
Linux c7bbab2b8ca0 5.10.0-8-amd64 #1 SMP Debian 5.10.46-4 (2021-08-03) x86_64 GNU/Linux
2021/08/25 18:36:00 /usr/bin/docker run -it -v /tmp:/data:z --platform linux/arm/v7 busybox /bin/sh -c cd /data && uname -a
Unable to find image 'busybox:latest' locally
latest: Pulling from library/busybox
Digest: sha256:b37dd066f59a4961024cf4bed74cae5e68ac26b48807292bd12198afa3ecb778
Status: Downloaded newer image for busybox:latest
Linux c54bfd26495d 5.10.0-8-amd64 #1 SMP Debian 5.10.46-4 (2021-08-03) armv7l GNU/Linux
2021/08/25 18:36:03 /usr/bin/docker run -it -v /tmp:/data:z --platform linux/arm/v6 busybox /bin/sh -c cd /data && uname -a
Unable to find image 'busybox:latest' locally
latest: Pulling from library/busybox
Digest: sha256:b37dd066f59a4961024cf4bed74cae5e68ac26b48807292bd12198afa3ecb778
Status: Downloaded newer image for busybox:latest
Linux 494d44328c59 5.10.0-8-amd64 #1 SMP Debian 5.10.46-4 (2021-08-03) armv7l GNU/Linux

real	0m22.765s
user	0m0.257s
sys	0m0.106s
user@debian:/tmp$ 
@MaxPeal
Copy link
Author

MaxPeal commented Aug 25, 2021

user@debian:/tmp$ sudo sh -c 'uname -a && lsb_release -a && docker info'
Linux debian 5.10.0-8-amd64 #1 SMP Debian 5.10.46-4 (2021-08-03) x86_64 GNU/Linux
No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux 11 (bullseye)
Release:	11
Codename:	bullseye
Client:
 Context:    default
 Debug Mode: false
 Plugins:
  app: Docker App (Docker Inc., v0.9.1-beta3)
  buildx: Build with BuildKit (Docker Inc., v0.6.1-docker)
  scan: Docker Scan (Docker Inc., v0.8.0)

Server:
 Containers: 53
  Running: 0
  Paused: 0
  Stopped: 53
 Images: 12
 Server Version: 20.10.8
 Storage Driver: devicemapper
  Pool Name: docker-0:27-28374-pool
  Pool Blocksize: 65.54kB
  Base Device Size: 10.74GB
  Backing Filesystem: xfs
  Udev Sync Supported: true
  Data file: /dev/loop1
  Metadata file: /dev/loop2
  Data loop file: /var/lib/docker/devicemapper/devicemapper/data
  Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
  Data Space Used: 819.1MB
  Data Space Total: 107.4GB
  Data Space Available: 1.544GB
  Metadata Space Used: 18.47MB
  Metadata Space Total: 2.147GB
  Metadata Space Available: 1.544GB
  Thin Pool Minimum Free Space: 10.74GB
  Deferred Removal Enabled: true
  Deferred Deletion Enabled: true
  Deferred Deleted Device Count: 0
  Library Version: 1.02.175 (2021-01-08)
 Logging Driver: json-file
 Cgroup Driver: systemd
 Cgroup Version: 2
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 io.containerd.runtime.v1.linux runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: e25210fe30a0a703442421b0f60afac609f950a3
 runc version: v1.0.1-0-g4144b63
 init version: de40ad0
 Security Options:
  apparmor
  seccomp
   Profile: default
  cgroupns
 Kernel Version: 5.10.0-8-amd64
 Operating System: Debian GNU/Linux 11 (bullseye)
 OSType: linux
 Architecture: x86_64
 CPUs: 4
 Total Memory: 11.57GiB
 Name: debian
 ID: VZSP:NENH:XAZG:P6IH:XLEH:AMWD:4X2R:TX7W:4VKN:E6P7:AMTE:CKKM
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: the devicemapper storage-driver is deprecated, and will be removed in a future release.
WARNING: devicemapper: usage of loopback devices is strongly discouraged for production use.
         Use `--storage-opt dm.thinpooldev` to specify a custom block storage device.
user@debian:/tmp$ 

@pojntfx
Copy link
Owner

pojntfx commented Aug 25, 2021

Thanks for the bug report! Looking at it right now.

@pojntfx
Copy link
Owner

pojntfx commented Aug 25, 2021

@MaxPeal Should be fixed! Would you mind testing it out with the branch preview binaries from https://github.com/pojntfx/hydrun/releases/tag/branch-refs%2Fheads%2Ffix-multi-arch-pulls? If they work for you I'll make a new release tomorrow which includes the fix :)

pojntfx added a commit that referenced this issue Aug 26, 2021
[WIP] Pull and tag multi-arch images explicitly (#1)
@pojntfx
Copy link
Owner

pojntfx commented Aug 26, 2021

@MaxPeal If you still have the caching issue, feel free to re-open :)

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

Successfully merging a pull request may close this issue.

2 participants