dockerd
No long description provided.
Installation
dagger install github.com/kpenfound/dagger-modules/dockerd@v0.1.1
Entrypoint
Return Type
Dockerd
Example
dagger -m github.com/kpenfound/dagger-modules/dockerd@7a64b32b1d70eb201f6987a2d8a60aa4f9ad1017 call \
func (m *myModule) example() *Dockerd {
return dag.
Dockerd()
}
@function
def example() -> dag.Dockerd:
return (
dag.dockerd()
)
@func()
example(): Dockerd {
return dag
.dockerd()
}
Types
Dockerd 🔗
Module for running docker in dagger
attach() 🔗
Attach a dockerd service to a container
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
container | Container ! | - | No description provided |
dockerVersion | String | 24.0 | No description provided |
Example
dagger -m github.com/kpenfound/dagger-modules/dockerd@7a64b32b1d70eb201f6987a2d8a60aa4f9ad1017 call \
attach --container IMAGE:TAG
func (m *myModule) example(container *Container) *Container {
return dag.
Dockerd().
Attach(container)
}
@function
def example(container: dagger.Container) -> dagger.Container:
return (
dag.dockerd()
.attach(container)
)
@func()
example(container: Container): Container {
return dag
.dockerd()
.attach(container)
}
service() 🔗
Get a Service container running dockerd
Return Type
Service !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
dockerVersion | String | 24.0 | No description provided |
Example
dagger -m github.com/kpenfound/dagger-modules/dockerd@7a64b32b1d70eb201f6987a2d8a60aa4f9ad1017 call \
service
func (m *myModule) example() *Service {
return dag.
Dockerd().
Service()
}
@function
def example() -> dagger.Service:
return (
dag.dockerd()
.service()
)
@func()
example(): Service {
return dag
.dockerd()
.service()
}