docker pull jenkins/jenkins:lts
docker run -it --hostname gitlab.ailab.com -p 3000:8080 -p 14443:22 -v /jenkins_home:/var/jenkins_home -v /var/run/docker.sock:/var/run/docker.sock --name jenkins -u root jenkins/jenkins:lts
jenkins_url: (ip:3000)
(jenkins_url)/safeRestart - Allows all running jobs to complete. New jobs will remain in the queue to run after the restart is complete.
(jenkins_url)/restart - Forces a restart without waiting for builds to complete.!