Docker mounts some disk to /etc/hosts (and also to other places). lsblk treats that as a regular mount, and then we get confused when treating it as such, e.g. in ubos-admin status, where we get:
ERROR: not a directory: /etc/hosts
There doesn't seem to be a good way of telling, so let's hard-code skipping filesystems mounted to /etc/hosts.
Docker mounts some disk to
/etc/hosts
(and also to other places).lsblk
treats that as a regular mount, and then we get confused when treating it as such, e.g. inubos-admin status
, where we get:There doesn't seem to be a good way of telling, so let's hard-code skipping filesystems mounted to
/etc/hosts
.