nerdctl
nerdctl copied to clipboard
nerdctl push still stuck in "waiting" on version 0.19
Description
New installation of rancherdesktop on Windows10. Have logged in successfully to my docker.io repository but when I attempt to push an image, the config-* is pushed immediately but the manifest-* never gets pushed.
PS C:\dev\source\myproject> nerdctl push beirtipol/myproject
INFO[0000] pushing as a reduced-platform image (application/vnd.docker.distribution.manifest.v2+json, sha256:841a86b15d0d324624d4e618dbf20c74b2a0b280d4804cfb4370330fa71ffbd5)
manifest-sha256:841a86b15d0d324624d4e618dbf20c74b2a0b280d4804cfb4370330fa71ffbd5: waiting |--------------------------------------|
config-sha256:873aecf4f7f5e7333774573340442553c3301b76b8ce89aca624672b1f4409dd: done |++++++++++++++++++++++++++++++++++++++|
elapsed: 156.3s total: 3.3 Ki (21.0 B/s)
I can see this is described as fixed in 0.17: https://github.com/containerd/nerdctl/issues/804
The version installed by rancher desktop is 0.19
PS C:\dev\source\myproject> nerdctl --version
nerdctl version 0.19.0
Describe the results you received and expected
Expect the image to be pushed
What version of nerdctl are you using?
0.19.0
Are you using a variant of nerdctl? (e.g., Rancher Desktop)
Rancher Desktop for Windows
Host information
PS C:\dev\source\myproject> nerdctl info
Client:
Namespace: default
Debug Mode: false
Server:
Server Version: v1.5.11
Storage Driver: overlayfs
Logging Driver: json-file
Cgroup Driver: cgroupfs
Cgroup Version: 1
Plugins:
Log: json-file
Storage: native overlayfs
Security Options:
seccomp
Profile: default
Kernel Version: 5.10.16.3-microsoft-standard-WSL2
Operating System: Rancher Desktop WSL Distribution
OSType: linux
Architecture: x86_64
CPUs: 8
Total Memory: 25GiB
Name: DESKTOP-MYMACHINE
ID: ea66ff9f-eed5-4ccd-a5f9-53bb17b81903
Switching the runtime of rancher desktop from containerd to dockerd and using 'docker push' works as expected so the issue only seems to affect nerdctl
Is this specific to Rancher Desktop (for Windows)? Does it work on a native Linux machine?
Yes, specific to rancher desktop for windows. I've not tested on native linux
Same here - nerdctl version 0.19 bundled with rancher-desktop just shows waiting on image pushes, with the transfer rate showing bytes (less than 1kb)
However - the image does push if you leave it
I get the same issue on MacOS with nerdctl version v0.23.0 bundled with Rancher Desktop 1.6.2.
Like @prom3theu5 already mentioned, if you leave it running for long enough, it will still push the image.
Got the same issue with ctr.
Not sure if it is caused by nerdctl.