Jenkins is an open source continuous integration tool written in Java. The project was forked from Hudson after a dispute with Oracle. Jenkins provides continuous integration services for software development. It is a server-based system running in a servlet container such as Apache Tomcat.
Latest stable release of Jenkins from Arch Linux Repo.
docker run -d \ --name=<container name> \ -v <path for config files>:/config \ -v /etc/localtime:/etc/localtime:ro \ -e JAVA_ARGS=<java arguments> \ -e JAVA_OPTS=<java options> \ -e UMASK=<umask for created files> \ -e PUID=<uid for user> \ -e PGID=<gid for user> \ binhex/arch-jenkins
Please replace all user variables in the above command defined by <> with the correct values.
docker run -d \ --name=jenkins \ -v /apps/docker/jenkins:/config \ -v /etc/localtime:/etc/localtime:ro \ -e JAVA_ARGS=-Xmx512m \ -e JAVA_OPTS=-Dhudson.footerURL=http://mycompany.com \ -e UMASK=000 \ -e PUID=0 \ -e PGID=0 \ binhex/arch-jenkins
User ID (PUID) and Group ID (PGID) can be found by issuing the following command for the user you want to run the container as:-
If you appreciate my work, then please consider buying me a beer :D