Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/saulshanabrook/dind-isolated
https://github.com/saulshanabrook/dind-isolated
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/saulshanabrook/dind-isolated
- Owner: saulshanabrook
- Created: 2016-01-12T00:01:34.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-13T02:12:40.000Z (almost 9 years ago)
- Last Synced: 2023-03-23T11:43:58.813Z (over 1 year ago)
- Language: Shell
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# `dind-isolated`
Use this to run a docker daemon (in docker) in the background of a container
while you access it in the foreground.It is based on [`docker:dind`](https://hub.docker.com/_/docker).
I am using it for Gitlab CI builds.
```bash
$ docker run --rm --privileged saulshanabrook/dind-isolated docker run hello-world
waiting for docker daemon...
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
b901d36b6f2f: Pull complete
0a6ba66e537a: Pull complete
Digest: sha256:8be990ef2aeb16dbcb9271ddfe2610fa6658d13f6dfb8bc72074cc1ca36966a7
Status: Downloaded newer image for hello-world:latestHello from Docker.
This message shows that your installation appears to be working correctly.To generate this message, Docker took the following steps:
1. The Docker client contacted the Docker daemon.
2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
3. The Docker daemon created a new container from that image which runs the
executable that produces the output you are currently reading.
4. The Docker daemon streamed that output to the Docker client, which sent it
to your terminal.To try something more ambitious, you can run an Ubuntu container with:
$ docker run -it ubuntu bashShare images, automate workflows, and more with a free Docker Hub account:
https://hub.docker.comFor more examples and ideas, visit:
https://docs.docker.com/userguide/
```The flags set in `DOCKER_DAEMON_FLAGS` will be passed to the daemon.