Docker Community Forums

Share and learn in the Docker community.

Error when running privileged - problem mounting fuse

docker

(Bruce Becker) #1

Continuing the discussion from Cannot start any container because of missing entry point:

Hi I need to mount a remote AUFS filesystem (CMVFS) inside a container. The docs say that this is possible with the --privileged flag. However I have a problem similar to the one reported in the linked topic.

I’ve created an image (Dockerfile here), which when I try to use it to run a container gives the somewhat cryptic response :

docker: Error response from daemon: Container command not found or does not exist..

My Docker info is :

Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 75
 Dirperm1 Supported: true
Execution Driver: native-0.2
Logging Driver: json-file
Plugins: 
 Volume: local
 Network: bridge null host
Kernel Version: 4.2.0-35-generic
Operating System: Ubuntu 15.10
OSType: linux
Architecture: x86_64
CPUs: 8
Total Memory: 7.671 GiB

The container is created fine with that image, but I still can’t mount fuse.

So, basically my questions are two :

  1. What does the error “Container command not found” mean ? Which command is it referring to ?
  2. What is the “right” way to mount fuse inside a container ? what needs to be done on the host and the container?