Files
fn-serverless/images/dind
Tolga Ceylan c132cf1825 fn: dind SIGINT and SIGCHLD changes (#771)
1) in dind, prevent SIGINT reaching to dockerd. This kills
docker and prevents shutdown as fn server is trying to stop.
2) as init process, always reap child processes.
2018-02-13 19:46:53 -08:00
..
2017-05-18 18:59:34 +00:00
2018-02-13 18:39:37 -08:00
2018-02-13 18:39:37 -08:00

Docker-in-Docker Base Image

This is the base image for all docker-in-docker images.

The difference between this and the official docker images are that this will choose the best filesystem automatically. The official ones use vfs (bad) by default unless you pass in a flag.

It will also attempt to mirror the default external interface's MTU to the dind network; this addresses a problem with running dind-based images on a kubernetes cluster with an overlay network that takes a chunk out of pods' MTUs.

Usage

Just use this as your base image and use CMD for your program, NOT ENTRYPOINT. This will handle the rest.

FROM fnproject/dind
# OTHER STUFF
CMD ["./myproggie"]