Not really 100% related, but hear me out:
I had this problem, because I had changed the default Docker installation. And docker service wanted to execute sudo
or do similar things (system calls?)
More specifically, I had moved the filesystem location where Docker installs volumes and images.
Docker Virtual machines can take a substantial amount of disk space.
Therefore I had moved /var/lib/docker
to /mnt/virtualmachines_ssd/docker
.
After a while I had forgotten that. I had to find out where /var/lib/docker
was symlinked to.
ls -l /var/lib/docker
lrwxrwxrwx 1 root root /var/lib/docker -> /mnt/virtualmachines_ssd/docker
Indeed /mnt/virtualmachines_ssd/
was a different partition, a different filesystem.
mount | grep virtualmachines | grep sdd
/dev/sdd1 on /mnt/virtualmachines_ssd type ext4 (rw,nodev,nosuid,relatime,x-gvfs-show)
Thus,
sudo mount -o remount,suid /mnt/virtualbox_ssd
solved the problem! The "ddev" docker container was able to do its job again.
mount | grep virtualmachines | grep sdd
/dev/sdd1 on /mnt/virtualmachines_ssd type ext4 (rw,nodev,relatime,x-gvfs-show)
In your case, when you can't run sudo
.
perhaps change the entry for the filesystem in your /etc/fstab
, and reboot.
mount
onto your question please?