Product Docs
-
-
-
-
-
-
-
- Install chainctl
- Get Started with chainctl
- chainctl vs Console
- Manage Your chainctl Configuration
- Find and Update Your chainctl Release Version
- Compare Images with chainctl
- Create, View, and Delete chainctl Events
- Manage Identity and Access with chainctl
- Manage Chainguard Container Images with chainctl
-
- chainctl
- chainctl auth
- chainctl auth configure-docker
- chainctl auth login
- chainctl auth logout
- chainctl auth pull-token
- chainctl auth status
- chainctl auth token
- chainctl config
- chainctl config edit
- chainctl config reset
- chainctl config save
- chainctl config set
- chainctl config unset
- chainctl config validate
- chainctl config view
- chainctl events
- chainctl events subscriptions
- chainctl events subscriptions create
- chainctl events subscriptions delete
- chainctl events subscriptions list
- chainctl iam
- chainctl iam account-associations
- chainctl iam account-associations check
- chainctl iam account-associations check aws
- chainctl iam account-associations check gcp
- chainctl iam account-associations describe
- chainctl iam account-associations set
- chainctl iam account-associations set aws
- chainctl iam account-associations set gcp
- chainctl iam account-associations unset
- chainctl iam account-associations unset aws
- chainctl iam account-associations unset gcp
- chainctl iam folders
- chainctl iam folders delete
- chainctl iam folders describe
- chainctl iam folders list
- chainctl iam folders update
- chainctl iam identities
- chainctl iam identities create
- chainctl iam identities create github
- chainctl iam identities create gitlab
- chainctl iam identities delete
- chainctl iam identities describe
- chainctl iam identities list
- chainctl iam identities update
- chainctl iam identity-providers
- chainctl iam identity-providers create
- chainctl iam identity-providers delete
- chainctl iam identity-providers list
- chainctl iam identity-providers update
- chainctl iam invites
- chainctl iam invites create
- chainctl iam invites delete
- chainctl iam invites list
- chainctl iam organizations
- chainctl iam organizations delete
- chainctl iam organizations describe
- chainctl iam organizations list
- chainctl iam role-bindings
- chainctl iam role-bindings create
- chainctl iam role-bindings delete
- chainctl iam role-bindings list
- chainctl iam role-bindings update
- chainctl iam roles
- chainctl iam roles capabilities
- chainctl iam roles capabilities list
- chainctl iam roles create
- chainctl iam roles delete
- chainctl iam roles list
- chainctl iam roles update
- chainctl images
- chainctl images diff
- chainctl images history
- chainctl images list
- chainctl images repos
- chainctl images repos build
- chainctl images repos build apply
- chainctl images repos build edit
- chainctl images repos build list
- chainctl images repos build logs
- chainctl images repos list
- chainctl libraries
- chainctl libraries entitlements
- chainctl libraries entitlements list
- chainctl packages
- chainctl packages versions
- chainctl packages versions list
- chainctl update
- chainctl version
Open Source
Education
Chainguard Libraries for Java
Learnning Lab in May 2025 with Manfred Moser
Page copied!
The May 2025 Learning Lab with Manfred Moser covers Chainguard Libraries for Java. It starts with an overview about libraries and the Java ecosystem and progresses to a demo with Apache Maven and Sonatype Nexus.
Sections
- 0:00 Introduction and agenda
- 2:38 Chainguard and containers
- 3:47 Chainguard Factory
- 4:57 Concepts - from containers to libraries
- 9:00 Java and Java libraries
- 12:45 Software supply chain of libraries and attacks
- 19:27 Dependency supply in Java
- 20:30 Repository concept and Maven Central
- 24:32 Chainguard Libraries for Java and repository manager intro
- 28:17 Developer tools
- 29:21 Demo start and setup with chainctl
- 32:55 Sonatype Nexus configuration
- 37:30 Maven configuration
- 40:41 Example project setup, build, and results
- 44:57 Dependency list and tree
- 47:00 Results and verification
- 49:37 Summary
- 50:43 Up next
- 52:55 Questions
Demo
Following are some of the commands used in the demo. More information can be found in the slide deck, the linked resources, and the video.
Creating a pull token:
chainctl auth login
chainctl libraries entitlements list
chainctl auth pull-token --library-ecosystem=java --ttl=1h
Cleaning up the local Maven repository cache:
rm -rf ~/.m2/repository
Building Trino Gateway from source and looking at dependencies:
cd trino-gateway
./mvnw clean install -DskipTests=true
./mvnw dependency:list
./mvnw dependency:tree
Reesource Links
- Chainguard Libraries
- Chainguard Libraries documentation
- Chainguard Libraries for Java documentation
- Slide deck
- Apache Maven
- Sonatype Nexus Repository
- Apache Maven dependency plugin
Last updated: 2025-06-18 21:00