title: FUSE inside Docker
body: <p>I'm trying to install and use FUSE inside a Docker container. My Dockerfile is the following:</p>
  
  <pre><code>FROM golang:1.8
  
  WORKDIR /go/src/app
  COPY . .
  
  RUN apt-get update &amp;&amp; apt-get install -y fuse &amp;&amp; rm -rf /var/lib/apt/lists/*
  RUN go-wrapper download
  RUN go-wrapper install
  
  CMD ["go-wrapper", "run", "/mnt"]
  </code></pre>
  
  <p>When I run the program mounting FUSE, I get: <code>/bin/fusermount: fuse device not found, try 'modprobe fuse' first</code>.</p>
  
  <p>If I install <code>kmod</code> and run <code>modprobe fuse</code> during the build step, I get the error:</p>
  
  <p><code>modprobe: ERROR: ../libkmod/libkmod.c:557 kmod_search_moddep() could not open moddep file '/lib/modules/4.4.104-boot2docker/modules.dep.bin'</code></p>
  
  <p>How can I fix this?</p>