1
Fork 0

Mention the need to enable fuse

This commit is contained in:
Jake Howard 2021-10-04 21:57:15 +01:00
parent bd399bc533
commit 45642706fa
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -19,10 +19,11 @@ failed to start daemon: error initializing graphdriver: driver not supported
There is however a solution to this, in the form of FUSE. There exists a userspace implementation of `overlayfs`, known helpfully as `fuse-overlayfs`. Even more helpfully, docker has native support for it. Switching to it is simple: There is however a solution to this, in the form of FUSE. There exists a userspace implementation of `overlayfs`, known helpfully as `fuse-overlayfs`. Even more helpfully, docker has native support for it. Switching to it is simple:
1. Install `fuse-overlayfs` using your package manager of choice 1. Ensure that `fuse` is enabled on the container. Either set `features: fuse=1` in the LXC config file, or check "fuse" under options in Proxmox. After changing, restart the container.
2. Modify `/etc/docker/daemon.json` and set `storage-driver` to `fuse-overlayfs` 2. Install `fuse-overlayfs` using your package manager of choice
3. Restart Docker 3. Modify `/etc/docker/daemon.json` and set `storage-driver` to `fuse-overlayfs`
4. Profit? 4. Restart Docker
5. Profit?
Note that because I don't use native docker volumes for anything important, I didn't back up `/var/lib/docker` at all in the above. If you are, or want to be extra cautious, it's probably worth doing. Note that because I don't use native docker volumes for anything important, I didn't back up `/var/lib/docker` at all in the above. If you are, or want to be extra cautious, it's probably worth doing.