-
Notifications
You must be signed in to change notification settings - Fork 7
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
Unable to run docker containers on Nx Agents #52
Comments
Trying to build a docker image as one of the steps in my workflow and running into the same issue - seems to be the only blocker I have to adopting NX Agents |
Hi everyone! Docker support on Nx Agents is only available with Nx Enterprise for now. It's definitely something we don't want to restrict forever, and we're actually investigating opening up support for it for everyone, but I can't provide a clear timeline at the moment of when/how that will happen. |
Appreciate the update - thanks! Have our configuration ready to go once this is resolved |
Thank you so much for your follow-up, @rarmatei, much appreciated! 🙏 🙇 Can't wait until Docker is officially supported. 🤞🍀 🎉 |
Thanks, @jvandemo, for creating this issue. I am glad I read it before trying to do the same :) |
Thanks for the reply @rarmatei, to be honest this is quite disappointing as using containers for testing is not an uncommon use case. This blocks me from being able to use Nx for a project and I'd really like to use Nx. |
Would kaniko work? |
Scenario
Sometimes jobs require docker containers.
For example: integration tests may require a mock API, a mock database, etc.
Current behaviour
Docker does not work on Nx Agents.
Desired behaviour
Make it possible to run docker containers on Nx Agents.
Learnings so far
The
docker
command is not available out-of-the-box on Nx Agents.When installing docker via a custom launch template:
docker complains about not being able to access
/var/run/docker.sock
:Is it possible to run docker containers on Nx Agents?
Thanks in advance! 🙏 🙇
The text was updated successfully, but these errors were encountered: