Skip to content

Instantly share code, notes, and snippets.

@techno-tanoC
Last active February 23, 2020 17:15
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 techno-tanoC/66a4b90295d96f4bc4de28436643b1c2 to your computer and use it in GitHub Desktop.
Save techno-tanoC/66a4b90295d96f4bc4de28436643b1c2 to your computer and use it in GitHub Desktop.
DinDを使って他のコンテナからDockerを使う
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