-
Notifications
You must be signed in to change notification settings - Fork 23
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
Docker run image in a remote node #41
Comments
I'm also after this functionality. |
After days having issues running containers with Kubernetes plugin I switched to docker in docker in order to get containers running and I found this bug :-( Would be great to have it fixed |
Has anyone found a workaround on this? I would like to use this funcionality to scalate my rundeck farm. |
Hi, Not sure if the solution to this problem is still needed after all this time, but maybe it will help someone. Found this post that helped me figure it out: #3 The problem is (and no it's not a bug), the docker plugin is a bit miss-understood. I thought (same as you) that the plugin executes docker commands on the node you're targeting. It actually doesn't. It executes them locally where rundeck is installed. In our case inside the container. Not what you expected? It was a shocker for me as well... You can test this by exec-ing inside the container and executing the following command. To actually get it working, you have to do the following:
Also create the docker group and add the rundeck user to that group (this will allow rundeck to execute docker commands without getting permission errors)
Run the image with the following volume mounted Should be working :). This is not ideal. Why? because from what I can see you can't create containers using this plugin on other nodes except the one hosting your container, which wasn't what I expected. Plus the security concerns it introduces... again not ideal. I'm still wrapping my head around how to setup the node executor part. Maybe I'll find something interesting. |
I did as you described here, but it did not work for me. Not sure if it matters but my dockerfile is based on rundeck 3.3.9
Docker gets installed but will not run. I executed into the docker container that is running Rundeck. I ran the following:
Manually started:
I checked the status again and get this:
Results of docker version
Any ideas? |
Hi,
I'm trying to use this Rundeck plugin to run containers on remote nodes (currently I'm doing the same task but manually defining a bash script step which is run on remote nodes and will run 'docker run' there).
The problem is that I get the following error:
Is there any requirement for what is expected to be installed on my remote node which is the one running the job?
Thanks
The text was updated successfully, but these errors were encountered: