Ping Errors in my Pipeline #8697
Unanswered
tommy-mcgee
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a pipeline... when it gets ran it pulls a custom docker image from a local registry on my network.
The Image is pulled fine...
It starts to run a .sh file that I have in a home folder under a local user in the image that is not root.
In the pipeline I set the user to be used to run the command as my local user in the image.
The script starts to run as expected and at some point it uses icmp ping.
The concourse web interface starts to show these results.
Then of course my script will fail ping is not permitted for this non root user
the odd thing is if I run the docker image in a container outside of concourse ping works fine for that local user
and my script completes successfully
could I be missing something?..... I even tried the privileged option but I am not sure I have it in the correct location in the yaml file
here is example of my yml
Thanks so much for any guidance
Beta Was this translation helpful? Give feedback.
All reactions