dockerd
No long description provided.
Installation
dagger install github.com/kpenfound/dagger-modules/dockerd@v0.1.0
Entrypoint
Return Type
Dockerd
Example
dagger -m github.com/kpenfound/dagger-modules/dockerd@5666114042e8871e5b1b7be2b2483b234073944e 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 | - | No description provided |
Example
dagger -m github.com/kpenfound/dagger-modules/dockerd@5666114042e8871e5b1b7be2b2483b234073944e 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@5666114042e8871e5b1b7be2b2483b234073944e 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()
}