You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
126 lines
3.5 KiB
JSON
126 lines
3.5 KiB
JSON
{
|
|
"version": 4,
|
|
"terraform_version": "0.12.26",
|
|
"serial": 3,
|
|
"lineage": "e51c7988-e2ed-5428-5618-66f774fa7d46",
|
|
"outputs": {},
|
|
"resources": [
|
|
{
|
|
"mode": "managed",
|
|
"type": "docker_container",
|
|
"name": "nginx",
|
|
"provider": "provider.docker",
|
|
"instances": [
|
|
{
|
|
"schema_version": 2,
|
|
"attributes": {
|
|
"attach": false,
|
|
"bridge": "",
|
|
"capabilities": [],
|
|
"command": [
|
|
"nginx",
|
|
"-g",
|
|
"daemon off;"
|
|
],
|
|
"container_logs": null,
|
|
"cpu_set": "",
|
|
"cpu_shares": 0,
|
|
"destroy_grace_seconds": null,
|
|
"devices": [],
|
|
"dns": null,
|
|
"dns_opts": null,
|
|
"dns_search": null,
|
|
"domainname": "",
|
|
"entrypoint": [
|
|
"/docker-entrypoint.sh"
|
|
],
|
|
"env": [],
|
|
"exit_code": null,
|
|
"gateway": "172.17.0.1",
|
|
"group_add": null,
|
|
"healthcheck": [],
|
|
"host": [],
|
|
"hostname": "5f48f0bc50f0",
|
|
"id": "5f48f0bc50f0133b10831f7bb1334ce7e54b4e2ecb37b9ce0be8e866bc60c9cf",
|
|
"image": "sha256:2622e6cca7ebbb6e310743abce3fc47335393e79171b9d76ba9d4f446ce7b163",
|
|
"ip_address": "172.17.0.2",
|
|
"ip_prefix_length": 16,
|
|
"ipc_mode": "private",
|
|
"labels": [],
|
|
"links": null,
|
|
"log_driver": "journald",
|
|
"log_opts": {},
|
|
"logs": false,
|
|
"max_retry_count": 0,
|
|
"memory": 0,
|
|
"memory_swap": 0,
|
|
"mounts": [],
|
|
"must_run": true,
|
|
"name": "tutorial",
|
|
"network_alias": null,
|
|
"network_data": [
|
|
{
|
|
"gateway": "172.17.0.1",
|
|
"ip_address": "172.17.0.2",
|
|
"ip_prefix_length": 16,
|
|
"network_name": "bridge"
|
|
}
|
|
],
|
|
"network_mode": "default",
|
|
"networks": null,
|
|
"networks_advanced": [],
|
|
"pid_mode": "",
|
|
"ports": [
|
|
{
|
|
"external": 8000,
|
|
"internal": 80,
|
|
"ip": "0.0.0.0",
|
|
"protocol": "tcp"
|
|
}
|
|
],
|
|
"privileged": false,
|
|
"publish_all_ports": false,
|
|
"read_only": false,
|
|
"restart": "no",
|
|
"rm": false,
|
|
"shm_size": 64,
|
|
"start": true,
|
|
"sysctls": null,
|
|
"tmpfs": null,
|
|
"ulimit": [],
|
|
"upload": [],
|
|
"user": "",
|
|
"userns_mode": "",
|
|
"volumes": [],
|
|
"working_dir": ""
|
|
},
|
|
"private": "eyJzY2hlbWFfdmVyc2lvbiI6IjIifQ==",
|
|
"dependencies": [
|
|
"docker_image.nginx"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"mode": "managed",
|
|
"type": "docker_image",
|
|
"name": "nginx",
|
|
"provider": "provider.docker",
|
|
"instances": [
|
|
{
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"id": "sha256:2622e6cca7ebbb6e310743abce3fc47335393e79171b9d76ba9d4f446ce7b163nginx:latest",
|
|
"keep_locally": false,
|
|
"latest": "sha256:2622e6cca7ebbb6e310743abce3fc47335393e79171b9d76ba9d4f446ce7b163",
|
|
"name": "nginx:latest",
|
|
"pull_trigger": null,
|
|
"pull_triggers": null
|
|
},
|
|
"private": "bnVsbA=="
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|