mirror of
https://github.com/kreuzwerker/terraform-provider-docker.git
synced 2025-12-23 08:09:37 -05:00
12 lines
334 B
Terraform
12 lines
334 B
Terraform
|
|
provider "docker" {
|
||
|
|
host = "tcp://your-host-ip:2376/"
|
||
|
|
|
||
|
|
# -> specify either
|
||
|
|
cert_path = pathexpand("~/.docker")
|
||
|
|
|
||
|
|
# -> or the following
|
||
|
|
ca_material = file(pathexpand("~/.docker/ca.pem")) # this can be omitted
|
||
|
|
cert_material = file(pathexpand("~/.docker/cert.pem"))
|
||
|
|
key_material = file(pathexpand("~/.docker/key.pem"))
|
||
|
|
}
|