I have an odd one - perhaps somebody can help…
I am unable to build a rocky 10 image on one of my servers with even the simplest Dockerfile:
FROM rockylinux/rockylinux:10
ENV HTTP_PROXY="http://1.2.3.4:8080"
ENV HTTPS_PROXY="http://1.2.3.4:8080"
CMD ["/bin/cat","/etc/os-release"]
The error I receive is:
ERROR: failed to solve: lease "fec44sx3nk42ttblsdwwq9mgc": not found
If I change it to:
FROM rockylinux/rockylinux:9
… it builds fine. It also builds fine on another server. What could be the problem?
Thanks.
rimelek
(Ákos Takács)
August 19, 2025, 2:40pm
2
This kind of error message is not familiar to me, but we usually need the following information to understand the issue:
What platform are you using? Windows, Linux or macOS? Which version of the operating systems? In case of Linux, which distribution?
How did you install Docker? Sharing the platform almost answers it, but only almost. Direct links to the followed guide can be useful.
On debian based Linux, the following commands can give us some idea and recognize incorrectly installed Docker:
docker info
docker version
Review the output before sharing and remove confidential data if any appears (public IP for example)
dpkg -l 'docker*' | grep '^ii'
snap list docker
Sorry, should have made that clear.
RedHat 9.5
The usual “dnf -y install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin”. There is a proxy too.
docker infoClient: Docker Engine - Community
Version: 27.5.1
Context: default
Debug Mode: false
Plugins:
buildx: Docker Buildx (Docker Inc.)
Version: v0.20.0
Path: /usr/libexec/docker/cli-plugins/docker-buildx
compose: Docker Compose (Docker Inc.)
Version: v2.32.4
Path: /usr/libexec/docker/cli-plugins/docker-compose
Server:
Containers: 14
Running: 0
Paused: 0
Stopped: 14
Images: 21
Server Version: 27.5.1
Storage Driver: overlayfs
driver-type: io.containerd.snapshotter.v1
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 splunk syslog
Swarm: inactive
Runtimes: io.containerd.runc.v2 runc
Default Runtime: runc
Init Binary: docker-init
containerd version: bcc810d6b9066471b0b6fa75f557a15a1cbf31bb
runc version: v1.2.4-0-g6c52b3f
init version: de40ad0
Security Options:
seccomp
Profile: builtin
cgroupns
Kernel Version: 5.14.0-503.23.2.el9_5.x86_64
Operating System: Red Hat Enterprise Linux 9.5 (Plow)
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 3.572GiB
Name: \[hostname\]
ID: cf261516-5240-46d8-bbea-a9f75b3037cb
Docker Root Dir: /var/lib/docker
Debug Mode: false
HTTP Proxy: http://\[IP:port\]/
HTTPS Proxy: http://\[IP:port\]/
Username: \[username\]
Experimental: false
docker versionClient: Docker Engine - Community
Version: 27.5.1
API version: 1.47
Go version: go1.22.11
Git commit: 9f9e405
Built: Wed Jan 22 13:42:45 2025
OS/Arch: linux/amd64
Context: default
Server: Docker Engine - Community
Engine:
Version: 27.5.1
API version: 1.47 (minimum version 1.24)
Go version: go1.22.11
Git commit: 4c9b3b0
Built: Wed Jan 22 13:41:04 2025
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.7.25
GitCommit: bcc810d6b9066471b0b6fa75f557a15a1cbf31bb
runc:
Version: 1.2.4
GitCommit: v1.2.4-0-g6c52b3f
docker-init:
Version: 0.19.0
GitCommit: de40ad0
rimelek
(Ákos Takács)
August 20, 2025, 5:04pm
4
Thanks for the details. I originally removed the reference to our formatting guide from the question template I shared in my previous post, because you properly formatted your first post. Please, keep that good habit. I added a little formatting to your last reply as well so it is more obvious what output belongs to what command.
I found an old issue in the Moby repository (The base of Docker CE)
opened 04:11PM - 24 Aug 23 UTC
closed 10:42AM - 28 Aug 23 UTC
area/builder
status/0-triage
kind/bug
area/builder/buildkit
containerd-integration
### Description
We are unable to run integration tests with a containerd-backed… daemon, the build fails
### Reproduce
Run an integration test in moby/moby with a containerd-backed daemon:
```console
$ make DOCKER_GRAPHDRIVER=overlay2 TEST_FILTER=TestPullNoLayers test-integration
docker buildx build --build-arg=GO_VERSION --build-arg=APT_MIRROR --build-arg=DOCKERCLI_VERSION --build-arg=DOCKERCLI_REPOSITORY --build-arg=DOCKERCLI_INTEGRATION_VERSION --build-arg=DOCKERCLI_INTEGRATION_REPOSITORY --target=dev --load -t "docker-dev" .
[+] Building 5.4s (31/100) docker:local
=> [internal] load .dockerignore 0.1s
=> => transferring context: 113B 0.0s
=> [internal] load build definition from Dockerfile 0.1s
=> => transferring dockerfile: 28.11kB 0.0s
=> resolve image config for docker.io/docker/dockerfile:1 1.5s
=> [auth] docker/dockerfile:pull token for registry-1.docker.io 0.0s
=> docker-image://docker.io/docker/dockerfile:1@sha256:ac85f380a63b13dfcefa89046420e1781752bab202122f8f50032edf31be0021 0.6s
=> => resolve docker.io/docker/dockerfile:1@sha256:ac85f380a63b13dfcefa89046420e1781752bab202122f8f50032edf31be0021 0.0s
=> => sha256:9d9c93f4b00be908ab694a4df732570bced3b8a96b7515d70ff93402179ad232 11.80MB / 11.80MB 0.5s
=> => extracting sha256:9d9c93f4b00be908ab694a4df732570bced3b8a96b7515d70ff93402179ad232 0.1s
=> [internal] load metadata for docker.io/tonistiigi/xx:1.2.1 2.0s
=> [internal] load metadata for docker.io/distribution/distribution:2.8.2 2.1s
=> [internal] load metadata for docker.io/library/debian:bullseye 1.9s
=> [internal] load metadata for docker.io/library/busybox:latest 1.8s
=> [internal] load metadata for docker.io/library/golang:1.20.7-bullseye 2.1s
=> [internal] load metadata for docker.io/djs55/vpnkit:0.5.0 1.8s
=> [internal] load metadata for docker.io/docker/buildx-bin:0.11.2 2.1s
=> [internal] load metadata for docker.io/docker/compose-bin:v2.20.1 1.4s
=> [auth] docker/compose-bin:pull token for registry-1.docker.io 0.0s
=> [auth] library/debian:pull token for registry-1.docker.io 0.0s
=> [auth] djs55/vpnkit:pull token for registry-1.docker.io 0.0s
=> [auth] docker/buildx-bin:pull token for registry-1.docker.io 0.0s
=> [auth] library/busybox:pull token for registry-1.docker.io 0.0s
=> [auth] library/golang:pull token for registry-1.docker.io 0.0s
=> [auth] distribution/distribution:pull token for registry-1.docker.io 0.0s
=> [auth] tonistiigi/xx:pull token for registry-1.docker.io 0.0s
=> CANCELED [internal] load build context 0.6s
=> => transferring context: 34.88MB 0.4s
=> CACHED [xx 1/1] FROM docker.io/tonistiigi/xx:1.2.1@sha256:8879a398dedf0aadaacfbd332b29ff2f84bc39ae6d4e9c0a1109db27ac5ba012 0.4s
=> => resolve docker.io/tonistiigi/xx:1.2.1@sha256:8879a398dedf0aadaacfbd332b29ff2f84bc39ae6d4e9c0a1109db27ac5ba012 0.2s
=> CANCELED [base 1/5] FROM docker.io/library/golang:1.20.7-bullseye@sha256:c95c52c458a2678251e0769ea13c710b0c52814771c53a495f53b9e87f9c0e99 0.5s
=> => resolve docker.io/library/golang:1.20.7-bullseye@sha256:c95c52c458a2678251e0769ea13c710b0c52814771c53a495f53b9e87f9c0e99 0.2s
=> [compose 1/1] FROM docker.io/docker/compose-bin:v2.20.1@sha256:808e1bf7a9b64a345b30bbaf10df1b2f119f9011ff2ffd332cb8ed282e518d6b 0.4s
=> => resolve docker.io/docker/compose-bin:v2.20.1@sha256:808e1bf7a9b64a345b30bbaf10df1b2f119f9011ff2ffd332cb8ed282e518d6b 0.2s
=> => sha256:dfa8cf70e1c1b45f732af8b75ee3ad0642f07f3246db39398b35297cdce6a810 0B / 17.97MB 0.1s
=> [buildx 1/1] FROM docker.io/docker/buildx-bin:0.11.2@sha256:e7f00cf9fc3754de699190b215d383e57bd654179b31b28eefadf978a362e647 0.4s
=> => resolve docker.io/docker/buildx-bin:0.11.2@sha256:e7f00cf9fc3754de699190b215d383e57bd654179b31b28eefadf978a362e647 0.2s
=> => sha256:25ca11378595c4b7131a38508c88e99390822108dcca1014a1677a9976465d8a 0B / 17.46MB 0.2s
=> [build-dummy 1/2] FROM docker.io/library/busybox:latest@sha256:3fbc632167424a6d997e74f52b878d7cc478225cffac6bc977eedfe51c7f4e79 0.5s
=> => resolve docker.io/library/busybox:latest@sha256:3fbc632167424a6d997e74f52b878d7cc478225cffac6bc977eedfe51c7f4e79 0.2s
=> => sha256:3f4d90098f5b5a6f6a76e9d217da85aa39b2081e30fa1f7d287138d6e7bf0ad7 0B / 2.22MB 0.1s
=> ERROR [vpnkit-linux-amd64 1/1] FROM docker.io/djs55/vpnkit:0.5.0@sha256:d9aef9df57edd8d6e2a793ae1786242da5efe1a1fe09c908bd16e96d2d9cab07 0.5s
=> => resolve docker.io/djs55/vpnkit:0.5.0@sha256:d9aef9df57edd8d6e2a793ae1786242da5efe1a1fe09c908bd16e96d2d9cab07 0.2s
=> CANCELED [registry-v2 1/2] FROM docker.io/distribution/distribution:2.8.2@sha256:5d9a57b8024989a7f460cc4c44552fc8e0a183598962a916aafa276861cdae77 0.5s
=> => resolve docker.io/distribution/distribution:2.8.2@sha256:5d9a57b8024989a7f460cc4c44552fc8e0a183598962a916aafa276861cdae77 0.2s
=> CANCELED [frozen-images 1/4] FROM docker.io/library/debian:bullseye@sha256:1beb7cf458bdfe71b5220cb2069eb45e3fc7eb77a1ccfb169eaebf5f6c4809ab 0.5s
=> => resolve docker.io/library/debian:bullseye@sha256:1beb7cf458bdfe71b5220cb2069eb45e3fc7eb77a1ccfb169eaebf5f6c4809ab 0.2s
=> CANCELED [build-dummy 2/2] RUN mkdir -p /build 0.0s
------
> [vpnkit-linux-amd64 1/1] FROM docker.io/djs55/vpnkit:0.5.0@sha256:d9aef9df57edd8d6e2a793ae1786242da5efe1a1fe09c908bd16e96d2d9cab07:
------
Dockerfile:416
--------------------
414 | FROM scratch AS vpnkit-linux-riscv64
415 | FROM scratch AS vpnkit-linux-s390x
416 | >>> FROM djs55/vpnkit:${VPNKIT_VERSION} AS vpnkit-linux-amd64
417 | FROM djs55/vpnkit:${VPNKIT_VERSION} AS vpnkit-linux-arm64
418 | FROM vpnkit-linux-${TARGETARCH} AS vpnkit-linux
--------------------
ERROR: failed to solve: lease "q7s81cxik2x75j6xpedckw8h7": not found
View build details: docker-desktop://dashboard/build/local/local/eh05nii7z4brndv6eh0qgzg0j
make: *** [Makefile:190: build] Error 1
```
### Expected behavior
Build should succeed and the tests should run
### docker version
```bash
running docker from master
```
### docker info
```bash
running docker from master
```
### Additional Info
_No response_
They did not exactly figure out what happened, but the user reinstalled everything and that fixed the issue. You have the latest v27, which is still referenced in the list of release pages, but there was no v27 release since v28 was released. If you can’t or don’t want to update, I recommend opening a new ticket in the same github repository I lnked above.
system
(system)
Closed
September 19, 2025, 5:05pm
5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.