1.安装jekins
docker run --restart=always -p 8080:8080 -p 50000:50000 -v jekins_data:/var/jekins-home jenkinsci/blueocean
2.关闭防火墙
systemctl stop firewalld.service
3.访问jekins
ip+:8080
4.进入docker容器
docker exec -it 容器ID /bin/bash
5. 复制密码
打开jekins给的文件,复制密码
6.点击推荐安装插件
docker容器创建成功但是启动失败
1.pkill docker
2.iptables -t nat -F
3.ifconfig docker0 down
4.brctl delbr docker0
5.systemctl restart docker
6.docker run -p 8080:8080 -t jenkinsci/blueocean