Docker Storage Driver defaulting to vfs running docker in a docker EKS-Anywhere #7498
dweitz-sima
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am having a very hard time getting docker in a docker to run in anything other than VFS mode. I am trying use a kubernetes pod spun up from the kubernetes plugin in Jenkins to run docker build. This works and has been working but the vfs directory is getting too big so I want to change it to overlay2.
I was able to get it to change from vfs > overlay2 by manually removing containerd from the kubernetes "worker" node and installing docker. I was also able to get it to switch to use "fuse-overlayFS in a different test by installing it on the base container that kubernetes is spinning up as a temp slave. Changing the eks anywhere workers to use Docker instead of Containerd seems wrong and looks to be unsupported. Fuse-overlayFS gives all kinds of errors and also seems like a bad option.
From the EKS worker node, if I run "crictl info" I do not see a storage driver, but I do see snapshotter which is using "overlay"
QUESTION:
Does anyone know how to run docker build from inside of a Kubernetes POD running on EKS Anywhere / Kubernetes 1.28 / Ubuntu 22.04 / Jenkins + Kubernetes Plugin and have the docker storage driver be overlay2?
My apologies if this is the wrong place to ask this question. If that is the case please point me in the right direction.
Beta Was this translation helpful? Give feedback.
All reactions