Problem
Users following the Jenkins tutorials cannot pull Docker images from GHCR without authentication:
docker pull ghcr.io/jenkins-docs/quickstart-tutorials/jenkinsci-tutorials:android_
# Error: denied: denied
The docker-compose.yaml file references images from ghcr.io/jenkins-docs/quickstart-tutorials/jenkinsci-tutorials but these packages appear to be private, requiring GitHub authentication.
Impact
- Tutorial users get 403 Forbidden errors when running
docker compose --profile <name> up -d
- Friction for new users trying to follow tutorials
- Need to document authentication requirements or make images public
Expected Behavior
Images should be publicly accessible for tutorial users, similar to other public Jenkins images on Docker Hub.
Affected Images
All tutorial images:
simple_controller_
maven_agent_
python_agent_
node_agent_
android_agent_
golang_
cpp_
dotnet_
sidekick_
agent_discovery_
Suggested Solution
Make the GHCR package jenkins-docs/quickstart-tutorials/jenkinsci-tutorials publicly visible:
- Go to https://github.com/orgs/jenkins-docs/packages
- Find
quickstart-tutorials/jenkinsci-tutorials
- Settings → Change visibility → Public
Workaround
Users can authenticate with GHCR:
echo "$GITHUB_TOKEN" | docker login ghcr.io -u USERNAME --password-stdin
docker compose --profile android up -d
Related
This affects all users of the quickstart tutorials documented at https://www.jenkins.io/doc/tutorials/
Problem
Users following the Jenkins tutorials cannot pull Docker images from GHCR without authentication:
docker pull ghcr.io/jenkins-docs/quickstart-tutorials/jenkinsci-tutorials:android_ # Error: denied: deniedThe docker-compose.yaml file references images from
ghcr.io/jenkins-docs/quickstart-tutorials/jenkinsci-tutorialsbut these packages appear to be private, requiring GitHub authentication.Impact
docker compose --profile <name> up -dExpected Behavior
Images should be publicly accessible for tutorial users, similar to other public Jenkins images on Docker Hub.
Affected Images
All tutorial images:
simple_controller_maven_agent_python_agent_node_agent_android_agent_golang_cpp_dotnet_sidekick_agent_discovery_Suggested Solution
Make the GHCR package
jenkins-docs/quickstart-tutorials/jenkinsci-tutorialspublicly visible:quickstart-tutorials/jenkinsci-tutorialsWorkaround
Users can authenticate with GHCR:
Related
This affects all users of the quickstart tutorials documented at https://www.jenkins.io/doc/tutorials/