Install docker+jenkins under ubuntu

install docker

(1) Installation (need to switch to the root account, some operations require root privileges)

apt install docker.io 

(2) View docker version information

docker version

docker deployment jenkins

(1) Install docker

sudo apt install docker.io 

(2) Pull the jenkins image

docker search jenkins    // 查找jenkins镜像
docker pull jenkins/jenkins  // pull jenkins最新镜像,注意jenkins镜像已经过时了

Guess you like

Origin blog.csdn.net/sinat_33101665/article/details/128934896