Install Jenkins (16.04) https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Ubuntu
Install docker Docker Setup and Run
Run these command to include Jenkins user to docker
Add the docker group if it doesn't already exist.
sudo groupadd docker
Add the connected user "${USERNAME}" to the docker group.
sudo gpasswd -a ${USER} docker
sudo usermod -aG docker jenkins
网友评论