№ 9409 В разделе
Sysadmin
от September 13th, 2018,
В подшивках: MySQL, Terraform, Wordpress
Terraform infrastructure sample for docker provider. Creates docker containers on local machine.
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES a647e8f04629 6a834f03bd02 "docker-entrypoint.s…" 10 minutes ago Up 10 minutes 3306/tcp, 33060/tcp mysql e69d24a3920a 63b422244491 "docker-entrypoint.s…" 13 minutes ago Up 13 minutes 80/tcp wordpress
How to run:
vlad@turtle:$ terraform init ... some strings vlad@turtle:$ terraform apply ... some strings Apply complete! Resources: 2 added, 0 changed, 0 destroyed. Outputs: address_my = 172.17.0.2 address_wp = 172.17.0.3
You can find repository here https://git.blindage.org/21h/terraform-samples
Fortune cookie: To jaw-jaw is better than to war-war. -- W. Churchill, on Korean War negotiations
Leave a Reply