-
-
Save techno-tanoC/66a4b90295d96f4bc4de28436643b1c2 to your computer and use it in GitHub Desktop.
This file contains 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
DinDを使って他のコンテナからDockerを使う |
This file contains 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
version: '3' | |
services: | |
app: | |
image: docker | |
environment: | |
DOCKER_HOST: docker:2376 | |
tty: true | |
stdin_open: true | |
docker: | |
restart: always | |
image: docker:dind | |
entrypoint: dockerd -H tcp://0.0.0.0:2376 | |
privileged: true | |
tty: true | |
stdin_open: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment