start jenkins container

1) Install docker:

Fedora 21:

sudo yum -y install docker

Fedora 20

$ sudo yum -y remove docker
$ sudo yum -y install docker-io

2) Start docker

$ sudo systemctl start docker
$ sudo systemctl enable docker

3) Pull jenkins container

$ docker pull jenkins

4) Start jenkins container on port 8080

$ docker run -p 8080:8080 jenkins
Advertisements