macos_docker_toolkit icon indicating copy to clipboard operation
macos_docker_toolkit copied to clipboard

scripts fail with "setns:mnt: Invalid argument"

Open joaocc opened this issue 3 years ago • 3 comments

Hi, I'm running macos bigsur (11.5.2) and docker 4.0.1 (68347), in x64 mode, I get the following errors:

$ docker run --rm --privileged --pid=host docker/desktop-reclaim-space
setns:mnt: Invalid argument

(base) bash-5.1$ docker run --rm -it --privileged --pid=host walkerlee/nsenter -t 1 -m -u -i -n fstrim /var/lib/docker
nsenter: reassociate to namespace 'ns/mnt' failed: Invalid argument

Any idea of what can be done to correct this? Thanks

joaocc avatar Sep 18 '21 12:09 joaocc

Hi, @joaocc Were you able find any solution to this?

msp98 avatar Feb 02 '22 07:02 msp98

Hi. Not really. Just ended up removing the disk file and docker recreated it. Thx

joaocc avatar Feb 02 '22 09:02 joaocc

@joaocc Thanks for confirming!

msp98 avatar Feb 02 '22 09:02 msp98