containers
No long description provided.
Installation
dagger install github.com/shykes/daggerverse/containers@755d61a3fe31dde3e66cd5cd3daf85f61129640dEntrypoint
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 \
fromfunc (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 \
scratchfunc (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 moduleFunction ContainersCtr.State is not accessible from the containers moduleFunction ContainersCtr.State is not accessible from the containers moduleFunction ContainersCtr.State is not accessible from the containers modulewithFile() 🔗
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 moduleFunction ContainersCtr.withFile is not accessible from the containers moduleFunction ContainersCtr.withFile is not accessible from the containers moduleFunction ContainersCtr.withFile is not accessible from the containers modulewithEntrypoint() 🔗
Return Type
Ctr !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| args | [StringKind ! ] ! | - | No description provided |
Example
Function ContainersCtr.withEntrypoint is not accessible from the containers moduleFunction ContainersCtr.withEntrypoint is not accessible from the containers moduleFunction ContainersCtr.withEntrypoint is not accessible from the containers moduleFunction ContainersCtr.withEntrypoint is not accessible from the containers modulewithoutEntrypoint() 🔗
Return Type
Ctr ! Example
Function ContainersCtr.withoutEntrypoint is not accessible from the containers moduleFunction ContainersCtr.withoutEntrypoint is not accessible from the containers moduleFunction ContainersCtr.withoutEntrypoint is not accessible from the containers moduleFunction ContainersCtr.withoutEntrypoint is not accessible from the containers modulewithoutDefaultArgs() 🔗
Return Type
Ctr ! Example
Function ContainersCtr.withoutDefaultArgs is not accessible from the containers moduleFunction ContainersCtr.withoutDefaultArgs is not accessible from the containers moduleFunction ContainersCtr.withoutDefaultArgs is not accessible from the containers moduleFunction ContainersCtr.withoutDefaultArgs is not accessible from the containers modulewithDefaultArgs() 🔗
Return Type
Ctr !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| args | [StringKind ! ] ! | - | No description provided |
Example
Function ContainersCtr.withDefaultArgs is not accessible from the containers moduleFunction ContainersCtr.withDefaultArgs is not accessible from the containers moduleFunction ContainersCtr.withDefaultArgs is not accessible from the containers moduleFunction ContainersCtr.withDefaultArgs is not accessible from the containers modulestdout() 🔗
Return Type
StringKind ! Example
Function ContainersCtr.stdout is not accessible from the containers moduleFunction ContainersCtr.stdout is not accessible from the containers moduleFunction ContainersCtr.stdout is not accessible from the containers moduleFunction ContainersCtr.stdout is not accessible from the containers modulewithExec() 🔗
Return Type
Ctr !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| args | [StringKind ! ] ! | - | No description provided |
Example
Function ContainersCtr.withExec is not accessible from the containers moduleFunction ContainersCtr.withExec is not accessible from the containers moduleFunction ContainersCtr.withExec is not accessible from the containers moduleFunction ContainersCtr.withExec is not accessible from the containers module