I want to run jenkins on localhost via docker with 2 conditions.
- I need port 443
- it should be
https://instead ofhttp://
I tried everything, but I am still stuck with this issues.
This is the command I am using to run jenkins on port 443:
docker run -p 443:8080 -p 50000:50000 -v ~/jenkins_home:/var/jenkins_home jenkins/jenkins:lts
It transfers the port to 443, but does not make it HTTPS.
I have my cert and key from mkcert in root folder(/users/myname/). But I do not know how to transfer it to Jenkins configurations.
Is there a way to do it?