Skip to content

Instantly share code, notes, and snippets.

@egobude
Created March 9, 2016 15:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save egobude/efc5082035a04f96ea43 to your computer and use it in GitHub Desktop.
Save egobude/efc5082035a04f96ea43 to your computer and use it in GitHub Desktop.
@see: https://issues.jenkins-ci.org/browse/JENKINS-24338
cat /etc/sysconfig/docker
# Docker Upstart and SysVinit configuration file
# Customize location of Docker binary (especially for development testing).
DOCKER="/usr/bin/docker"
0
# Use DOCKER_OPTS to modify the daemon startup options.
DOCKER_OPTS=' --host=unix:///var/run/docker.sock --restart=false -g /opt/app/jenkins/docker -G jenkins'
and it resulted to the following permissions:
srw-rw---- 1 root jenkins 0 Jan 5 12:22 docker.sock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment