Skip to content

Add a little "paperclip" suggestion when attempting to run "dockerd" in the non-dind image variants #64

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 13, 2017

Conversation

tianon
Copy link
Member

@tianon tianon commented Jun 13, 2017

Fixes #61

Here's the example output:

$ docker run -it --rm docker:17.06-rc dockerd

📎 Hey there!  It looks like you're trying to run a Docker daemon.

   You probably should use the "dind" image variant instead, something like:

     docker run --privileged --name some-overlay-docker -d docker:stable-dind --storage-driver=overlay

   See https://hub.docker.com/_/docker/ for more documentation and usage examples.

WARN[0000] could not change group /var/run/docker.sock to docker: group docker not found
...

@tianon
Copy link
Member Author

tianon commented Jun 13, 2017

Worth noting (IMO) is that folks who know what they're doing can trivially get around this entire thing by using --entrypoint dockerd instead. 👍

@yosifkit yosifkit merged commit c1bc3af into docker-library:master Jun 13, 2017
@yosifkit yosifkit deleted the paperclip branch June 13, 2017 20:18
tianon added a commit to infosiftr/stackbrew that referenced this pull request Jun 13, 2017
- `docker`: 17.06.0-ce-rc3, 📎 (docker-library/docker#64)
- `php`: `DEB_BUILD_MULTIARCH` (docker-library/php#451)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants