Running balena-engine in ram

docker

#1

Hi,

I want to run the balena engine in a buildroot system and I couldn’t get it to work. When I want run an container it complains about a pivot root.

balena-engine: Error response from daemon: OCI runtime create failed: container_linux.go:296: starting container process caused "process_linux.go:398: container init caused \"rootfs_linux.go:107: jailing process inside rootfs caused \\\"pivot_root invalid argument\\\"\"": unknown.

Before while using docker I could set an environment option DOCKER_RAMDISK=true and it would work. But I couldn’t find where to set in balena and if it is still supported. Is it possible to run balena-engine in an initramfs system?