Hi, is it possible to run docker inside docker usi...
# ask-metaflow
f
Hi, is it possible to run docker inside docker using metaflow on k8s?
There are custom docker images for it but I assume metaflow will overwrite the entrypoint.
v
if you can launch Docker inside Docker, you can start a Metaflow task as usual and then call e.g.
docker run
from the Metaflow task
f
I wanted to use the official image but as metaflow overwrites the entrypoint, I suppose I need to launch it in a custom way
v
I haven't encountered this use case before. What does it do if you just launch at usual with Metaflow, specifying it as
image=
?
f
let me try
I tried to use the one of the official images Then I manually launch it using the script which is mentioned in the entrypoint but I see bunch of error
Copy code
Certificate request self-signature ok
subject=CN = docker:dind server
Certificate request self-signature ok
subject=CN = docker:dind client
ip: can't find device 'ip_tables'
modprobe: can't change directory to '/lib/modules': No such file or directory
mount: permission denied (are you root?)
Could not mount /sys/kernel/security.
AppArmor detection and --privileged mode might break.
mount: permission denied (are you root?)