I appreciate you taking the time to investigate here.
I am not so sure the aufs vs overlay2 is my actual problem. The essential idea is i’m just trying to preload an app into an image I have. I may be doing something completely wrong, but the core of what doesn’t work for me is that when the dockerode package in balana-cli creates, then runs the container that will download the app, its can’t find any /dev/loop* devices. If I manually step into the container and using
docker run -it --privileged mine /bin/sh run /usr/src/app/preload.py then the script does run and the container does have loop back devices. My problem at that point is that I don’t know what arguments (config.json?) are needed by preload.py in order to inject the app I have into the image.
I hope that makes sense. I feel like I’m digging fairly far into the tooling to see whats going wrong, just not sure how those arguments get injected against the ‘docker run’ command in order to pass it all to preload.py
Any help is appreciated.