00b369124d63231de4cba4f6746c2f5f38a3de50
Installation
Run terraform init
Instructions
Terraform cannot create a qnet network, so we do it manually and then import into Terraform.
dockerx.bat network create -d qnet --ipam-driver=qnet --ipam-opt=iface=eth0 --subnet=192.168.2.0/24 --gateway=192.168.2.1 terraform-static-eth1-shared
terraform import docker_network.bridge f9cf6469837bece2c688b65787869af240fcffa95d9d5d3a71a0c4da119e5edc
Run considerations
If updating remotely using wireguard, note that it is also run on docker.
So it will cause the tunnel to disconnect. Not sure how to handle this, yet. Probably not run terraform apply locally and instead run it in a CI solution?
Description
Languages
HCL
96.6%
TypeScript
1.3%
Jinja
1.1%
Batchfile
0.6%
Shell
0.3%