Created
October 4, 2019 14:32
-
-
Save moriyoshi/fc6a093dfe93ada1daaf94cf1bd275bb to your computer and use it in GitHub Desktop.
dind
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM docker:dind | |
RUN apk add dumb-init | |
COPY start.sh / | |
ENTRYPOINT ["/usr/bin/dumb-init", "--"] | |
CMD ["/start.sh"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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