ragsahu
(Ragsahu)
February 3, 2022, 12:57pm
1
Hello Everyone,
I’m new in docker, i’m using docker in codepipe line.
inside docker when i’m running this command
/usr/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://127.0.0.1:2375 --storage-driver=overlay2
It is not working facing below issue.
Error starting daemon: error initializing graphdriver: backing file system is unsupported for this graph driver
Please help me.
Thanks & Regards.
terpz
(Martin Terp)
February 3, 2022, 1:03pm
2
Hi
I THINK its because you’re running on a too old kernel version, what does “uname -a” give?
you can try and set storage-driver to btrfs,
ragsahu
(Ragsahu)
February 3, 2022, 1:29pm
3
Hello Martin,
Thanks for the response.
when i’m passing this : usr/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://127.0.0.1:2375 --storage-driver=btrfs
Error starting daemon: error initializing graphdriver: prerequisites for driver not satisfied (wrong filesystem?)
And my kernal version is :Linux 18eb02d3c408 5.10.47-linuxkit
Thanks
rimelek
(Ákos Takács)
February 5, 2022, 4:05pm
4
Docker is very old in alpine 3.10.3 so overlay2 was not supported. Even if it were supported in that version, it would not work without using a volume for the docker data dir so you have a supported “backing filesystem”
See Docker storage drivers | Docker Docs .
In case of Alpine 3.10 there is also an other issue: Docker daemon running in Alpine container. Solved? | Proxmox Support Forum
So if you can, try a newer alpine version like 3.14, mount a volume for the docker data and you can use overlay2
docker run --rm -it --privileged --volume docker-data:/var/lib/docker alpine:3.14
btrfs would not work unless you have btrfs on your host.