containers
No long description provided.
Installation
dagger install github.com/shykes/daggerverse/containers@755d61a3fe31dde3e66cd5cd3daf85f61129640d
Entrypoint
Return Type
Containers
Example
dagger -m github.com/shykes/daggerverse/containers@755d61a3fe31dde3e66cd5cd3daf85f61129640d call \
func (m *MyModule) Example() *dagger.Containers {
return dag.
Containers()
}
@function
def example() -> dagger.Containers:
return (
dag.containers()
)
@func()
example(): Containers {
return dag
.containers()
}
Types
Containers 🔗
from() 🔗
Pull a container from a registry
Return Type
Ctr !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
address | StringKind ! | - | No description provided |
Example
dagger -m github.com/shykes/daggerverse/containers@755d61a3fe31dde3e66cd5cd3daf85f61129640d call \
from
func (m *MyModule) Example(address ) {
return dag.
Containers().
From(address)
}
@function
def example(address: ) -> :
return (
dag.containers()
.from_(address)
)
@func()
example(address: ): {
return dag
.containers()
.from(address)
}
scratch() 🔗
Initialize an empty container
Return Type
Ctr !
Example
dagger -m github.com/shykes/daggerverse/containers@755d61a3fe31dde3e66cd5cd3daf85f61129640d call \
scratch
func (m *MyModule) Example() {
return dag.
Containers().
Scratch()
}
@function
def example() -> :
return (
dag.containers()
.scratch()
)
@func()
example(): {
return dag
.containers()
.scratch()
}
Ctr 🔗
state() 🔗
Return Type
Container !
Example
Function ContainersCtr.State is not accessible from the containers module
Function ContainersCtr.State is not accessible from the containers module
Function ContainersCtr.State is not accessible from the containers module
Function ContainersCtr.State is not accessible from the containers module
withFile() 🔗
Return Type
Ctr !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
path | StringKind ! | - | No description provided |
file | File ! | - | No description provided |
Example
Function ContainersCtr.withFile is not accessible from the containers module
Function ContainersCtr.withFile is not accessible from the containers module
Function ContainersCtr.withFile is not accessible from the containers module
Function ContainersCtr.withFile is not accessible from the containers module
withEntrypoint() 🔗
Return Type
Ctr !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
args | [StringKind ! ] ! | - | No description provided |
Example
Function ContainersCtr.withEntrypoint is not accessible from the containers module
Function ContainersCtr.withEntrypoint is not accessible from the containers module
Function ContainersCtr.withEntrypoint is not accessible from the containers module
Function ContainersCtr.withEntrypoint is not accessible from the containers module
withoutEntrypoint() 🔗
Return Type
Ctr !
Example
Function ContainersCtr.withoutEntrypoint is not accessible from the containers module
Function ContainersCtr.withoutEntrypoint is not accessible from the containers module
Function ContainersCtr.withoutEntrypoint is not accessible from the containers module
Function ContainersCtr.withoutEntrypoint is not accessible from the containers module
withoutDefaultArgs() 🔗
Return Type
Ctr !
Example
Function ContainersCtr.withoutDefaultArgs is not accessible from the containers module
Function ContainersCtr.withoutDefaultArgs is not accessible from the containers module
Function ContainersCtr.withoutDefaultArgs is not accessible from the containers module
Function ContainersCtr.withoutDefaultArgs is not accessible from the containers module
withDefaultArgs() 🔗
Return Type
Ctr !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
args | [StringKind ! ] ! | - | No description provided |
Example
Function ContainersCtr.withDefaultArgs is not accessible from the containers module
Function ContainersCtr.withDefaultArgs is not accessible from the containers module
Function ContainersCtr.withDefaultArgs is not accessible from the containers module
Function ContainersCtr.withDefaultArgs is not accessible from the containers module
stdout() 🔗
Return Type
StringKind !
Example
Function ContainersCtr.stdout is not accessible from the containers module
Function ContainersCtr.stdout is not accessible from the containers module
Function ContainersCtr.stdout is not accessible from the containers module
Function ContainersCtr.stdout is not accessible from the containers module
withExec() 🔗
Return Type
Ctr !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
args | [StringKind ! ] ! | - | No description provided |
Example
Function ContainersCtr.withExec is not accessible from the containers module
Function ContainersCtr.withExec is not accessible from the containers module
Function ContainersCtr.withExec is not accessible from the containers module
Function ContainersCtr.withExec is not accessible from the containers module