macos_docker_toolkit
macos_docker_toolkit copied to clipboard
scripts fail with "setns:mnt: Invalid argument"
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
Hi, @joaocc Were you able find any solution to this?
Hi. Not really. Just ended up removing the disk file and docker recreated it. Thx
@joaocc Thanks for confirming!