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/sagikazarmark/daggerverse/registry@v0.1.0
Entrypoint
Return Type
Registry !
Arguments
Name | Type | Description |
---|---|---|
version | String | Version (image tag) to use from the official image repository as a base container. |
container | Container | Custom container to use as a base container. Takes precedence over version. |
port | Integer | Port to expose the registry on. |
dataVolume | CacheVolume | Mount a volume to persist data between runs. |
Example
dagger -m github.com/sagikazarmark/daggerverse/registry@fb3d654856bd7d53a4129184bf1338e930ac6ca1 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/sagikazarmark/daggerverse/registry@fb3d654856bd7d53a4129184bf1338e930ac6ca1 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()
}