https://rancher.com/ logo
#rancher-desktop
Title
# rancher-desktop
a

adamant-kite-43734

07/26/2022, 10:13 PM
This message was deleted.
f

future-eve-56565

07/26/2022, 10:14 PM
Copy code
...
 => ERROR [5/6] ADD --chown=1001:0 <https://repo1.maven.org/maven2/com/ibm/db2/jcc/11.5.7.0/jcc-11.5.7.0.jar> /conf  0.0s
------
 > [5/6] ADD --chown=1001:0 <https://repo1.maven.org/maven2/com/ibm/db2/jcc/11.5.7.0/jcc-11.5.7.0.jar> /config/db2jcc4.jar:
------
Dockerfile:30
--------------------
  28 |     # this simple, but dependent on specific version, and undocumented
  29 |     ARG DB2_VERSION=11.5.7.0
  30 | >>> ADD --chown=1001:0 <https://repo1.maven.org/maven2/com/ibm/db2/jcc/$DB2_VERSION/jcc-$DB2_VERSION.jar> /config/db2jcc4.jar
  31 |
  32 |     # <https://docs.openshift.com/container-platform/4.5/openshift_images/create-images.html#use-uid_create-images>
--------------------
error: failed to solve: snapshot  does not exist: not found
FATA[0000] unrecognized image format
s

sticky-summer-13450

07/27/2022, 7:56 AM
You could try switching from
containerd
to
dockerd (Moby)
and going back to using
docker
f

future-eve-56565

07/27/2022, 10:44 AM
Well, possibly. But this should work too. Wondering if it's like certificate trusting, even...
1.5.0 same problem. And tried versions of editing
\\wsl$\rancher-desktop\usr\local\share\ca-certificates
, as described in below link, on the theory that it could be the certificate: https://dev.to/crumdev/replace-docker-with-rancher-desktop-and-wsl2-on-windows-5d16
Replacing with this (and some USER commands for appropriate permissions) worked, but clearly it's less succinct, and requires the image to contain
curl
I guess I'll open an Issue. I have to think that
ADD
isn't working correctly under RD/nerdctl, possibly with https URLs 🤷
4 Views