-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Disable docker-in-docker (dind) by default #2338
Comments
docker-in-docker helps you to be able to run docker command in docker container. In case you don't need it, you can remove that. |
Ah okay... It doesn't sound like something I need, but can you perhaps give me an example of how / why somebody might use this? It doesn't appear to be documented anywhere. |
Echoing cwilby's comment in the referenced pull request, I also think this should be turned off by default with the option to turn it on in the rare case that somebody needs it... Somebody new to Docker / Laradock, like me, will just assume that this is needed and leave it enabled. I'll leave this issue open for the above reason. |
@shaneparsons @vlauciani after reviewing, I see that using links from workspace / php-fpm to docker-in-docker (dind) makes dind become mandatory service in Laradock.
Let I test locally, then have PR for this soon. |
@lanphan For what it's worth, I tried it locally a few days ago with all links to dind removed and everything seemed to work fine. Here's the docker-compose I was using if it helps... Note: a lot of the other default containers have also been removed for other reasons. |
Hi 👋 this issue has been automatically marked as |
Hi again 👋 we would like to inform you that this issue has been automatically |
@lanphan did u merge a solution to this? |
+1 |
1 similar comment
+1 |
Info:
$ docker --version
):19.03.4, build 9013bf5
$ git rev-parse HEAD
):04c6aaf3389ebd30e2874788b90437f229effb0b
Mac
Catalina
Question:
What's the purpose of
docker-in-docker
?I'm trying to "minimize" my docker-compose.yml (removing everything I don't need) and I noticed that
workspace
andphp-fpm
both rely on thisdocker-in-docker
... What does it do, and can I remove theenvironment
andlinks
references to it?The text was updated successfully, but these errors were encountered: