sudo docker run [container이름] [포트포워딩 port]:[host port] jenkins/jenkins:[본인이설치한 jdk버전]
docker exec distrip cat /var/jenkins_home/secrets/initialAdminPassword
ec2 상에서 8080으로 nohup을 실행시켜 포트 충돌
docker run -itd --env JENKINS_OPTS=--httpPort=9999 -p 9999:9999 -v ~/jenkins:/var/jenkins_home --name jenkins jenkins/jenkins:jdk17
sudo docker run -d --name distrip -p 80:8080 jenkins/jenkins:jdk17
https://forums.docker.com/t/solved-edit-container-details-ports-and-restarts-etc/64699