Docker run failure - fuse: device not found

Hi all,

Using docker on Centos7, arm64.
Have an issue on one of our devices , cannot execute any “docker run” command getting a fuse related error:

[root@localhost docker]# docker run -it --device /dev/ttyMV1 modpoll
docker: Error response from daemon: using mount program fuse-overlayfs: **fuse: device not found,** try 'modprobe fuse' first
fuse-overlayfs: cannot mount: No such file or directory
: exit status 1.
See 'docker run --help'.
[root@localhost docker]#

modprobe fuse didn’t help (no errors on execution)

tried to run with all of the options, any combination:
–privileged --cap-add=SYS_ADMIN --device /dev/fuse

Do not help.same error.

Here is the docker info of 2 units, the working and the non-working one.

WORKING DEVICE:

[root@localhost internal]# docker info
Client:
 Context:    default
 Debug Mode: false
 Plugins:
  app: Docker App (Docker Inc., v0.9.1-beta3)
  buildx: Docker Buildx (Docker Inc., v0.8.2-docker)

Server:
 Containers: 1
  Running: 0
  Paused: 0
  Stopped: 1
 Images: 5
 Server Version: 20.10.16
 Storage Driver: fuse-overlayfs
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Cgroup Version: 1
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 io.containerd.runtime.v1.linux runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 212e8b6fa2f44b9c21b2798135fc6fb7c53efc16
 runc version: v1.1.1-0-g52de29d
 init version: de40ad0
 Security Options:
  seccomp
   Profile: default
 Kernel Version: 4.19.128
 Operating System: CentOS Linux 7 (AltArch)
 OSType: linux
 Architecture: aarch64
 CPUs: 2
 Total Memory: 1.946GiB
 Name: localhost
 ID: XXXX
 Docker Root Dir: /USERFS/docker/dockerd
 Debug Mode: false
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false
 Default Address Pools:
   Base: 172.X.0.0/16, Size: 24

WARNING: API is accessible on http://0.0.0.0:2375 without encryption.
         Access to the remote API is equivalent to root access on the host. Refer
         to the 'Docker daemon attack surface' section in the documentation for
         more information: https://docs.docker.com/go/attack-surface/
WARNING: No blkio throttle.read_bps_device support
WARNING: No blkio throttle.write_bps_device support
WARNING: No blkio throttle.read_iops_device support
WARNING: No blkio throttle.write_iops_device support
WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled
[root@localhost internal]#

NON-WORKING DEVICE - FUSE ERROR:

[root@localhost /]# docker info
Client:
 Context:    default
 Debug Mode: false
 Plugins:
  app: Docker App (Docker Inc., v0.9.1-beta3)
  buildx: Docker Buildx (Docker Inc., v0.8.2-docker)

Server:
 Containers: 0
  Running: 0
  Paused: 0
  Stopped: 0
 Images: 5
 Server Version: 20.10.16
 Storage Driver: fuse-overlayfs
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Cgroup Version: 1
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc io.containerd.runc.v2 io.containerd.runtime.v1.linux
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 212e8b6fa2f44b9c21b2798135fc6fb7c53efc16
 runc version: v1.1.1-0-g52de29d
 init version: de40ad0
 Security Options:
  seccomp
   Profile: default
 Kernel Version: 4.19.128
 Operating System: CentOS Linux 7 (AltArch)
 OSType: linux
 Architecture: aarch64
 CPUs: 2
 Total Memory: 1.947GiB
 Name: localhost
 ID: XXXX
 Docker Root Dir: /USERFS/docker/dockerd
 Debug Mode: false
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false
 Default Address Pools:
   Base: 172.X.0.0/16, Size: 24

WARNING: No cpu cfs quota support
WARNING: No cpu cfs period support
WARNING: No blkio throttle.read_bps_device support
WARNING: No blkio throttle.write_bps_device support
WARNING: No blkio throttle.read_iops_device support
WARNING: No blkio throttle.write_iops_device support
WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled
[root@localhost /]# 

Same LINUX kernel on both of the devices.

nothing I have found so far helped out regarding the fuse.
Any suggestion ?
Thanks in advance!

I don’t know how exactly Docker works on Centos 7, but I remember there was something about the storage driver. The current default storage driver is overlay2 every distribution I work with. Your Docker is using fuse-overlayfs and I can’t see the backing filesystem which should be under the storage driver information.

I know sometimes podman on Centos appears to be Docker, but I don’t think Docker info would how what you quoted in that case.

Another thing I noticed is warning at the bottom of the docker info output. This usually appears in case of rootless Docker and searching for the error message I found reports about rootless Docker.

The context usually shows if the Docker is rootless, but the report I mentioned shows the same “default” context.

PS.: Since the question has nothing to do with Docker Hub, I am going to move the topic to another category (I know, many topics not related to Docker Hub in this category)