Skip to content

Instantly share code, notes, and snippets.

@moriyoshi
Created October 4, 2019 14:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save moriyoshi/fc6a093dfe93ada1daaf94cf1bd275bb to your computer and use it in GitHub Desktop.
Save moriyoshi/fc6a093dfe93ada1daaf94cf1bd275bb to your computer and use it in GitHub Desktop.
dind
FROM docker:dind
RUN apk add dumb-init
COPY start.sh /
ENTRYPOINT ["/usr/bin/dumb-init", "--"]
CMD ["/start.sh"]
#!/bin/sh
dockerd-entrypoint.sh dockerd 2>/dev/null &
docker pull alpine:latest
docker run --rm alpine:latest echo 'hello world'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment