[Docker] ERROR: Failed to creating docker image:Permission denied
ERROR: Build step failed with exception
org.newsclub.net.unix.AFUNIXSocketException: Permission denied (socket: /run/docker.sock)


docker exec -it -u 0 569b21494ac5 bash

groupadd -g 983 docker

usermod -a -G docker jenkins

docker restart 569b21494ac5


Logo

权威|前沿|技术|干货|国内首个API全生命周期开发者社区

更多推荐