nerdctl icon indicating copy to clipboard operation
nerdctl copied to clipboard

nerdctl push still stuck in "waiting" on version 0.19

Open beirtipol opened this issue 3 years ago • 4 comments

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

beirtipol avatar Jun 05 '22 16:06 beirtipol

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

beirtipol avatar Jun 05 '22 17:06 beirtipol

Is this specific to Rancher Desktop (for Windows)? Does it work on a native Linux machine?

AkihiroSuda avatar Jun 07 '22 08:06 AkihiroSuda

Yes, specific to rancher desktop for windows. I've not tested on native linux

beirtipol avatar Jun 07 '22 20:06 beirtipol

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

prom3theu5 avatar Jun 25 '22 12:06 prom3theu5

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.

stefan-fast avatar Nov 16 '22 09:11 stefan-fast

Got the same issue with ctr.

Not sure if it is caused by nerdctl.

gaocegege avatar May 17 '23 04:05 gaocegege