Dagger
Search

registry

The Registry is a stateless, highly scalable server side application that stores and lets you distribute container images and other content.

Installation

dagger install github.com/jedevc/daggerverse-sagikazarmark/registry@a104424df38ca8b0b758f699dcfeeb0c2210cc2e

Entrypoint

Return Type
Registry !
Arguments
NameTypeDescription
versionString Version (image tag) to use from the official image repository as a base container.
containerContainer Custom container to use as a base container. Takes precedence over version.
portInteger Port to expose the registry on.
dataVolumeCacheVolume Mount a volume to persist data between runs.
Example
dagger -m github.com/jedevc/daggerverse-sagikazarmark/registry@a104424df38ca8b0b758f699dcfeeb0c2210cc2e call \
func (m *myModule) example() *Registry  {
	return dag.
			Registry()
}
@function
def example() -> dag.Registry:
	return (
		dag.registry()
	)
@func()
example(): Registry {
	return dag
		.registry()
}

Types

Registry 🔗

service() 🔗

Return Type
Service !
Example
dagger -m github.com/jedevc/daggerverse-sagikazarmark/registry@a104424df38ca8b0b758f699dcfeeb0c2210cc2e call \
 service
func (m *myModule) example() *Service  {
	return dag.
			Registry().
			Service()
}
@function
def example() -> dagger.Service:
	return (
		dag.registry()
		.service()
	)
@func()
example(): Service {
	return dag
		.registry()
		.service()
}