Package-level declarations
Types
Builder for ContainerArgs.
Builder for Container.
The provider type for the docker package. By default, resources use package-wide configuration settings, however an explicit Provider
instance may be created and passed during resource construction to achieve fine-grained programmatic control over provider settings. See the documentation for more information.
Builder for DockerProvider.
Image
builds a Docker image and pushes it Docker and OCI compatible registries. This resource enables running Docker builds as part of a Pulumi deployment. Note: We recommend you migrate your images to the more modern [Docker
Builder for ImageArgs.
Builder for Image.
Builder for NetworkArgs.
Builder for Network.
Builder for PluginArgs.
Builder for Plugin.
The provider type for the docker package. By default, resources use package-wide configuration settings, however an explicit Provider
instance may be created and passed during resource construction to achieve fine-grained programmatic control over provider settings. See the documentation for more information.
Builder for ProviderArgs.
Builder for RegistryImageArgs.
Builder for RegistryImage.
Builder for RemoteImageArgs.
Builder for RemoteImage.
#!/bin/bash Docker secret cannot be imported as the secret data, once set, is never exposed again.
Builder for SecretArgs.
Builder for Secret.
Assuming you created a service
as follows #!/bin/bash docker service create --name foo -p 8080:80 nginx prints th ID 4pcphbxkfn2rffhbhe6czytgi you provide the definition for the resource as follows terraform resource "docker_service" "foo" { name = "foo" task_spec { container_spec { image = "nginx" } } endpoint_spec { ports { target_port = "80" published_port = "8080" } } } then the import command is as follows #!/bin/bash
Assuming you created a service
as follows #!/bin/bash docker service create --name foo -p 8080:80 nginx prints th ID 4pcphbxkfn2rffhbhe6czytgi you provide the definition for the resource as follows terraform resource "docker_service" "foo" { name = "foo" task_spec { container_spec { image = "nginx" } } endpoint_spec { ports { target_port = "80" published_port = "8080" } } } then the import command is as follows #!/bin/bash
Builder for ServiceArgs.
Assuming you created a config
as follows #!/bin/bash printf '{"a":"b"}' | docker config create foo - prints the id 08c26c477474478d971139f750984775a7f019dbe8a2e7f09d66a187c009e66d you provide the definition for the resource as follows terraform resource "docker_config" "foo" { name = "foo" data = base64encode("{\"a\": \"b\"}") } then the import command is as follows #!/bin/bash
Assuming you created a config
as follows #!/bin/bash printf '{"a":"b"}' | docker config create foo - prints the id 08c26c477474478d971139f750984775a7f019dbe8a2e7f09d66a187c009e66d you provide the definition for the resource as follows terraform resource "docker_config" "foo" { name = "foo" data = base64encode("{\"a\": \"b\"}") } then the import command is as follows #!/bin/bash
Builder for ServiceConfigArgs.
Builder for ServiceConfig.
Builder for Service.
Creates a docker tag. It has the exact same functionality as the docker tag
command. Deleting the resource will neither delete the source nor target images. The source image must exist on the machine running the docker daemon.
Builder for TagArgs.
Builder for Tag.
Builder for VolumeArgs.
Builder for Volume.