Here’s my error while Docker builds a Jenkins instance: ‘PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target’
When I look at Jenkins (localhost:8080) the container is running but it thinks I’m offline, so I can’t access plugins needed for further work. I saw a question from Oct 2023 that seems similar but I’m not trying to connect Jira to Jenkins, just connect my container so I can get plugins and I don’t have Java installed (as far as I know).
I’m not fluent in Docker and a total newbie on Jenkins.
MY SETUP:
macOS Sonoma 14.5 with M3 Max processor
Docker version: 4.29.0
Jenkins version: Docker Hub jenkins/jenkins (pulled 5/23/2024) with no added plugins
Docker compose.yaml:
services:
jenkins:
container_name: jenkins
image: jenkins/jenkins
ports:
- "8080:8080"
volumes:
- "$PWD/jenkins_home:/var/jenkins_home"
networks:
- net
networks:
net: