Open jvandemo opened 6 months ago
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.
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 :)
It would also help with installing docker, see #67 @rarmatei
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.
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.
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! π π