Last active
February 7, 2018 15:32
-
-
Save nimboya/b902a198d9a72d6cdb334e9cd7b30be2 to your computer and use it in GitHub Desktop.
How to setup Docker Build in Jenkins
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Setup Jenkins | |
2. Install Build and Push Docker Image Plugin | |
3. add this DOCKER_OPTS="-H tcp://127.0.0.1:2375 -H unix:///var/run/docker.sock in /etc/default/docker at the end of file | |
4. Restart Docker Daemon | |
5. In the Build and Push Plugin, Docker Host URI: unix:///var/run/docker.sock |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment