Languages
[Edit]
EN

Docker + maven build problem - unix://localhost:80: Permission denied - com.spotify.docker.client.shaded.javax.ws.rs.ProcessingException: java.io.IOException: Permission denied

2 points
Created by:
LionRanger
461

Problem

Edit

I try to build my microservice (java + docker) from jenkins level.
I setup the build and got an exception (console output from jenkins level):

Solution

Edit

Run below command from root:

It will allow jenkins and other users to have permission to Docker socket file.

1
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join