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镜像已经过时了