github.com/myhau/pulumi/pkg/v3@v3.70.2-0.20221116134521-f2775972e587/codegen/testing/test/testdata/docker-3.1.0.json (about) 1 { 2 "name": "docker", 3 "description": "A Pulumi package for interacting with Docker in Pulumi programs", 4 "keywords": [ 5 "pulumi", 6 "docker" 7 ], 8 "homepage": "https://pulumi.io", 9 "license": "Apache-2.0", 10 "attribution": "This Pulumi package is based on the [`docker` Terraform Provider](https://github.com/terraform-providers/terraform-provider-docker).", 11 "repository": "https://github.com/pulumi/pulumi-docker", 12 "meta": { 13 "moduleFormat": "(.*)(?:/[^/]*)" 14 }, 15 "config": { 16 "variables": { 17 "caMaterial": { 18 "type": "string", 19 "description": "PEM-encoded content of Docker host CA certificate\n" 20 }, 21 "certMaterial": { 22 "type": "string", 23 "description": "PEM-encoded content of Docker client certificate\n" 24 }, 25 "certPath": { 26 "type": "string", 27 "description": "Path to directory with Docker TLS config\n" 28 }, 29 "host": { 30 "type": "string", 31 "description": "The Docker daemon address\n", 32 "default": "unix:///var/run/docker.sock", 33 "defaultInfo": { 34 "environment": [ 35 "DOCKER_HOST" 36 ] 37 } 38 }, 39 "keyMaterial": { 40 "type": "string", 41 "description": "PEM-encoded content of Docker client private key\n" 42 }, 43 "registryAuth": { 44 "type": "array", 45 "items": { 46 "$ref": "#/types/docker:config/registryAuth:registryAuth" 47 } 48 } 49 }, 50 "defaults": [ 51 "host" 52 ] 53 }, 54 "types": { 55 "docker:config/registryAuth:registryAuth": { 56 "properties": { 57 "address": { 58 "type": "string" 59 }, 60 "configFile": { 61 "type": "string" 62 }, 63 "configFileContent": { 64 "type": "string" 65 }, 66 "password": { 67 "type": "string" 68 }, 69 "username": { 70 "type": "string" 71 } 72 }, 73 "type": "object", 74 "required": [ 75 "address" 76 ], 77 "language": { 78 "nodejs": { 79 "requiredInputs": [] 80 } 81 } 82 }, 83 "docker:index/ContainerCapabilities:ContainerCapabilities": { 84 "properties": { 85 "adds": { 86 "type": "array", 87 "items": { 88 "type": "string" 89 }, 90 "language": { 91 "python": { 92 "mapCase": false 93 } 94 } 95 }, 96 "drops": { 97 "type": "array", 98 "items": { 99 "type": "string" 100 }, 101 "language": { 102 "python": { 103 "mapCase": false 104 } 105 } 106 } 107 }, 108 "type": "object" 109 }, 110 "docker:index/ContainerDevice:ContainerDevice": { 111 "properties": { 112 "containerPath": { 113 "type": "string", 114 "language": { 115 "python": { 116 "mapCase": false 117 } 118 } 119 }, 120 "hostPath": { 121 "type": "string", 122 "language": { 123 "python": { 124 "mapCase": false 125 } 126 } 127 }, 128 "permissions": { 129 "type": "string", 130 "language": { 131 "python": { 132 "mapCase": false 133 } 134 } 135 } 136 }, 137 "type": "object", 138 "required": [ 139 "hostPath" 140 ] 141 }, 142 "docker:index/ContainerHealthcheck:ContainerHealthcheck": { 143 "properties": { 144 "interval": { 145 "type": "string", 146 "language": { 147 "python": { 148 "mapCase": false 149 } 150 } 151 }, 152 "retries": { 153 "type": "integer", 154 "language": { 155 "python": { 156 "mapCase": false 157 } 158 } 159 }, 160 "startPeriod": { 161 "type": "string", 162 "language": { 163 "python": { 164 "mapCase": false 165 } 166 } 167 }, 168 "tests": { 169 "type": "array", 170 "items": { 171 "type": "string" 172 }, 173 "language": { 174 "python": { 175 "mapCase": false 176 } 177 } 178 }, 179 "timeout": { 180 "type": "string", 181 "language": { 182 "python": { 183 "mapCase": false 184 } 185 } 186 } 187 }, 188 "type": "object", 189 "required": [ 190 "tests" 191 ] 192 }, 193 "docker:index/ContainerHost:ContainerHost": { 194 "properties": { 195 "host": { 196 "type": "string", 197 "language": { 198 "python": { 199 "mapCase": false 200 } 201 } 202 }, 203 "ip": { 204 "type": "string", 205 "language": { 206 "python": { 207 "mapCase": false 208 } 209 } 210 } 211 }, 212 "type": "object", 213 "required": [ 214 "host", 215 "ip" 216 ] 217 }, 218 "docker:index/ContainerLabel:ContainerLabel": { 219 "properties": { 220 "label": { 221 "type": "string", 222 "language": { 223 "python": { 224 "mapCase": false 225 } 226 } 227 }, 228 "value": { 229 "type": "string", 230 "language": { 231 "python": { 232 "mapCase": false 233 } 234 } 235 } 236 }, 237 "type": "object", 238 "required": [ 239 "label", 240 "value" 241 ] 242 }, 243 "docker:index/ContainerMount:ContainerMount": { 244 "properties": { 245 "bindOptions": { 246 "$ref": "#/types/docker:index/ContainerMountBindOptions:ContainerMountBindOptions", 247 "language": { 248 "python": { 249 "mapCase": false 250 } 251 } 252 }, 253 "readOnly": { 254 "type": "boolean", 255 "language": { 256 "python": { 257 "mapCase": false 258 } 259 } 260 }, 261 "source": { 262 "type": "string", 263 "language": { 264 "python": { 265 "mapCase": false 266 } 267 } 268 }, 269 "target": { 270 "type": "string", 271 "language": { 272 "python": { 273 "mapCase": false 274 } 275 } 276 }, 277 "tmpfsOptions": { 278 "$ref": "#/types/docker:index/ContainerMountTmpfsOptions:ContainerMountTmpfsOptions", 279 "language": { 280 "python": { 281 "mapCase": false 282 } 283 } 284 }, 285 "type": { 286 "type": "string", 287 "language": { 288 "python": { 289 "mapCase": false 290 } 291 } 292 }, 293 "volumeOptions": { 294 "$ref": "#/types/docker:index/ContainerMountVolumeOptions:ContainerMountVolumeOptions", 295 "language": { 296 "python": { 297 "mapCase": false 298 } 299 } 300 } 301 }, 302 "type": "object", 303 "required": [ 304 "target", 305 "type" 306 ] 307 }, 308 "docker:index/ContainerMountBindOptions:ContainerMountBindOptions": { 309 "properties": { 310 "propagation": { 311 "type": "string", 312 "language": { 313 "python": { 314 "mapCase": false 315 } 316 } 317 } 318 }, 319 "type": "object" 320 }, 321 "docker:index/ContainerMountTmpfsOptions:ContainerMountTmpfsOptions": { 322 "properties": { 323 "mode": { 324 "type": "integer", 325 "language": { 326 "python": { 327 "mapCase": false 328 } 329 } 330 }, 331 "sizeBytes": { 332 "type": "integer", 333 "language": { 334 "python": { 335 "mapCase": false 336 } 337 } 338 } 339 }, 340 "type": "object" 341 }, 342 "docker:index/ContainerMountVolumeOptions:ContainerMountVolumeOptions": { 343 "properties": { 344 "driverName": { 345 "type": "string", 346 "language": { 347 "python": { 348 "mapCase": false 349 } 350 } 351 }, 352 "driverOptions": { 353 "type": "object", 354 "additionalProperties": { 355 "type": "string" 356 }, 357 "language": { 358 "python": { 359 "mapCase": false 360 } 361 } 362 }, 363 "labels": { 364 "type": "array", 365 "items": { 366 "$ref": "#/types/docker:index/ContainerMountVolumeOptionsLabel:ContainerMountVolumeOptionsLabel" 367 }, 368 "language": { 369 "python": { 370 "mapCase": false 371 } 372 } 373 }, 374 "noCopy": { 375 "type": "boolean", 376 "language": { 377 "python": { 378 "mapCase": false 379 } 380 } 381 } 382 }, 383 "type": "object" 384 }, 385 "docker:index/ContainerMountVolumeOptionsLabel:ContainerMountVolumeOptionsLabel": { 386 "properties": { 387 "label": { 388 "type": "string", 389 "language": { 390 "python": { 391 "mapCase": false 392 } 393 } 394 }, 395 "value": { 396 "type": "string", 397 "language": { 398 "python": { 399 "mapCase": false 400 } 401 } 402 } 403 }, 404 "type": "object", 405 "required": [ 406 "label", 407 "value" 408 ] 409 }, 410 "docker:index/ContainerNetworkData:ContainerNetworkData": { 411 "properties": { 412 "gateway": { 413 "type": "string", 414 "deprecationMessage": "Use `network_data` instead. The network gateway of the container as read from its NetworkSettings.", 415 "language": { 416 "python": { 417 "mapCase": false 418 } 419 } 420 }, 421 "globalIpv6Address": { 422 "type": "string", 423 "language": { 424 "python": { 425 "mapCase": false 426 } 427 } 428 }, 429 "globalIpv6PrefixLength": { 430 "type": "integer", 431 "language": { 432 "python": { 433 "mapCase": false 434 } 435 } 436 }, 437 "ipAddress": { 438 "type": "string", 439 "deprecationMessage": "Use `network_data` instead. The IP address of the container's first network it.", 440 "language": { 441 "python": { 442 "mapCase": false 443 } 444 } 445 }, 446 "ipPrefixLength": { 447 "type": "integer", 448 "deprecationMessage": "Use `network_data` instead. The IP prefix length of the container as read from its NetworkSettings.", 449 "language": { 450 "python": { 451 "mapCase": false 452 } 453 } 454 }, 455 "ipv6Gateway": { 456 "type": "string", 457 "language": { 458 "python": { 459 "mapCase": false 460 } 461 } 462 }, 463 "networkName": { 464 "type": "string", 465 "language": { 466 "python": { 467 "mapCase": false 468 } 469 } 470 } 471 }, 472 "type": "object", 473 "language": { 474 "nodejs": { 475 "requiredOutputs": [ 476 "gateway", 477 "globalIpv6Address", 478 "globalIpv6PrefixLength", 479 "ipAddress", 480 "ipPrefixLength", 481 "ipv6Gateway", 482 "networkName" 483 ] 484 } 485 } 486 }, 487 "docker:index/ContainerNetworksAdvanced:ContainerNetworksAdvanced": { 488 "properties": { 489 "aliases": { 490 "type": "array", 491 "items": { 492 "type": "string" 493 }, 494 "language": { 495 "python": { 496 "mapCase": false 497 } 498 } 499 }, 500 "ipv4Address": { 501 "type": "string", 502 "language": { 503 "python": { 504 "mapCase": false 505 } 506 } 507 }, 508 "ipv6Address": { 509 "type": "string", 510 "language": { 511 "python": { 512 "mapCase": false 513 } 514 } 515 }, 516 "name": { 517 "type": "string", 518 "language": { 519 "python": { 520 "mapCase": false 521 } 522 } 523 } 524 }, 525 "type": "object", 526 "required": [ 527 "name" 528 ] 529 }, 530 "docker:index/ContainerPort:ContainerPort": { 531 "properties": { 532 "external": { 533 "type": "integer", 534 "language": { 535 "python": { 536 "mapCase": false 537 } 538 } 539 }, 540 "internal": { 541 "type": "integer", 542 "language": { 543 "python": { 544 "mapCase": false 545 } 546 } 547 }, 548 "ip": { 549 "type": "string", 550 "language": { 551 "python": { 552 "mapCase": false 553 } 554 } 555 }, 556 "protocol": { 557 "type": "string", 558 "language": { 559 "python": { 560 "mapCase": false 561 } 562 } 563 } 564 }, 565 "type": "object", 566 "required": [ 567 "internal" 568 ], 569 "language": { 570 "nodejs": { 571 "requiredOutputs": [ 572 "external", 573 "internal" 574 ] 575 } 576 } 577 }, 578 "docker:index/ContainerUlimit:ContainerUlimit": { 579 "properties": { 580 "hard": { 581 "type": "integer", 582 "language": { 583 "python": { 584 "mapCase": false 585 } 586 } 587 }, 588 "name": { 589 "type": "string", 590 "language": { 591 "python": { 592 "mapCase": false 593 } 594 } 595 }, 596 "soft": { 597 "type": "integer", 598 "language": { 599 "python": { 600 "mapCase": false 601 } 602 } 603 } 604 }, 605 "type": "object", 606 "required": [ 607 "hard", 608 "name", 609 "soft" 610 ] 611 }, 612 "docker:index/ContainerUpload:ContainerUpload": { 613 "properties": { 614 "content": { 615 "type": "string", 616 "language": { 617 "python": { 618 "mapCase": false 619 } 620 } 621 }, 622 "contentBase64": { 623 "type": "string", 624 "language": { 625 "python": { 626 "mapCase": false 627 } 628 } 629 }, 630 "executable": { 631 "type": "boolean", 632 "language": { 633 "python": { 634 "mapCase": false 635 } 636 } 637 }, 638 "file": { 639 "type": "string", 640 "language": { 641 "python": { 642 "mapCase": false 643 } 644 } 645 }, 646 "source": { 647 "type": "string", 648 "language": { 649 "python": { 650 "mapCase": false 651 } 652 } 653 }, 654 "sourceHash": { 655 "type": "string", 656 "language": { 657 "python": { 658 "mapCase": false 659 } 660 } 661 } 662 }, 663 "type": "object", 664 "required": [ 665 "file" 666 ] 667 }, 668 "docker:index/ContainerVolume:ContainerVolume": { 669 "properties": { 670 "containerPath": { 671 "type": "string", 672 "language": { 673 "python": { 674 "mapCase": false 675 } 676 } 677 }, 678 "fromContainer": { 679 "type": "string", 680 "language": { 681 "python": { 682 "mapCase": false 683 } 684 } 685 }, 686 "hostPath": { 687 "type": "string", 688 "language": { 689 "python": { 690 "mapCase": false 691 } 692 } 693 }, 694 "readOnly": { 695 "type": "boolean", 696 "language": { 697 "python": { 698 "mapCase": false 699 } 700 } 701 }, 702 "volumeName": { 703 "type": "string", 704 "language": { 705 "python": { 706 "mapCase": false 707 } 708 } 709 } 710 }, 711 "type": "object" 712 }, 713 "docker:index/NetworkIpamConfig:NetworkIpamConfig": { 714 "properties": { 715 "auxAddress": { 716 "type": "object", 717 "additionalProperties": { 718 "$ref": "pulumi.json#/Any" 719 }, 720 "language": { 721 "python": { 722 "mapCase": false 723 } 724 } 725 }, 726 "gateway": { 727 "type": "string", 728 "language": { 729 "python": { 730 "mapCase": false 731 } 732 } 733 }, 734 "ipRange": { 735 "type": "string", 736 "language": { 737 "python": { 738 "mapCase": false 739 } 740 } 741 }, 742 "subnet": { 743 "type": "string", 744 "language": { 745 "python": { 746 "mapCase": false 747 } 748 } 749 } 750 }, 751 "type": "object" 752 }, 753 "docker:index/NetworkLabel:NetworkLabel": { 754 "properties": { 755 "label": { 756 "type": "string", 757 "language": { 758 "python": { 759 "mapCase": false 760 } 761 } 762 }, 763 "value": { 764 "type": "string", 765 "language": { 766 "python": { 767 "mapCase": false 768 } 769 } 770 } 771 }, 772 "type": "object", 773 "required": [ 774 "label", 775 "value" 776 ] 777 }, 778 "docker:index/PluginGrantPermission:PluginGrantPermission": { 779 "properties": { 780 "name": { 781 "type": "string", 782 "language": { 783 "python": { 784 "mapCase": false 785 } 786 } 787 }, 788 "values": { 789 "type": "array", 790 "items": { 791 "type": "string" 792 }, 793 "language": { 794 "python": { 795 "mapCase": false 796 } 797 } 798 } 799 }, 800 "type": "object", 801 "required": [ 802 "name", 803 "values" 804 ] 805 }, 806 "docker:index/ProviderRegistryAuth:ProviderRegistryAuth": { 807 "properties": { 808 "address": { 809 "type": "string", 810 "language": { 811 "python": { 812 "mapCase": false 813 } 814 } 815 }, 816 "configFile": { 817 "type": "string", 818 "language": { 819 "python": { 820 "mapCase": false 821 } 822 } 823 }, 824 "configFileContent": { 825 "type": "string", 826 "language": { 827 "python": { 828 "mapCase": false 829 } 830 } 831 }, 832 "password": { 833 "type": "string", 834 "language": { 835 "python": { 836 "mapCase": false 837 } 838 } 839 }, 840 "username": { 841 "type": "string", 842 "language": { 843 "python": { 844 "mapCase": false 845 } 846 } 847 } 848 }, 849 "type": "object", 850 "required": [ 851 "address" 852 ], 853 "language": { 854 "nodejs": { 855 "requiredOutputs": [] 856 } 857 } 858 }, 859 "docker:index/RegistryImageBuild:RegistryImageBuild": { 860 "properties": { 861 "authConfigs": { 862 "type": "array", 863 "items": { 864 "$ref": "#/types/docker:index/RegistryImageBuildAuthConfig:RegistryImageBuildAuthConfig" 865 }, 866 "language": { 867 "python": { 868 "mapCase": false 869 } 870 } 871 }, 872 "buildArgs": { 873 "type": "object", 874 "additionalProperties": { 875 "type": "string" 876 }, 877 "language": { 878 "python": { 879 "mapCase": false 880 } 881 } 882 }, 883 "buildId": { 884 "type": "string", 885 "language": { 886 "python": { 887 "mapCase": false 888 } 889 } 890 }, 891 "cacheFroms": { 892 "type": "array", 893 "items": { 894 "type": "string" 895 }, 896 "language": { 897 "python": { 898 "mapCase": false 899 } 900 } 901 }, 902 "cgroupParent": { 903 "type": "string", 904 "language": { 905 "python": { 906 "mapCase": false 907 } 908 } 909 }, 910 "context": { 911 "type": "string", 912 "language": { 913 "python": { 914 "mapCase": false 915 } 916 } 917 }, 918 "cpuPeriod": { 919 "type": "integer", 920 "language": { 921 "python": { 922 "mapCase": false 923 } 924 } 925 }, 926 "cpuQuota": { 927 "type": "integer", 928 "language": { 929 "python": { 930 "mapCase": false 931 } 932 } 933 }, 934 "cpuSetCpus": { 935 "type": "string", 936 "language": { 937 "python": { 938 "mapCase": false 939 } 940 } 941 }, 942 "cpuSetMems": { 943 "type": "string", 944 "language": { 945 "python": { 946 "mapCase": false 947 } 948 } 949 }, 950 "cpuShares": { 951 "type": "integer", 952 "language": { 953 "python": { 954 "mapCase": false 955 } 956 } 957 }, 958 "dockerfile": { 959 "type": "string", 960 "language": { 961 "python": { 962 "mapCase": false 963 } 964 } 965 }, 966 "extraHosts": { 967 "type": "array", 968 "items": { 969 "type": "string" 970 }, 971 "language": { 972 "python": { 973 "mapCase": false 974 } 975 } 976 }, 977 "forceRemove": { 978 "type": "boolean", 979 "language": { 980 "python": { 981 "mapCase": false 982 } 983 } 984 }, 985 "isolation": { 986 "type": "string", 987 "language": { 988 "python": { 989 "mapCase": false 990 } 991 } 992 }, 993 "labels": { 994 "type": "object", 995 "additionalProperties": { 996 "type": "string" 997 }, 998 "language": { 999 "python": { 1000 "mapCase": false 1001 } 1002 } 1003 }, 1004 "memory": { 1005 "type": "integer", 1006 "language": { 1007 "python": { 1008 "mapCase": false 1009 } 1010 } 1011 }, 1012 "memorySwap": { 1013 "type": "integer", 1014 "language": { 1015 "python": { 1016 "mapCase": false 1017 } 1018 } 1019 }, 1020 "networkMode": { 1021 "type": "string", 1022 "language": { 1023 "python": { 1024 "mapCase": false 1025 } 1026 } 1027 }, 1028 "noCache": { 1029 "type": "boolean", 1030 "language": { 1031 "python": { 1032 "mapCase": false 1033 } 1034 } 1035 }, 1036 "platform": { 1037 "type": "string", 1038 "language": { 1039 "python": { 1040 "mapCase": false 1041 } 1042 } 1043 }, 1044 "pullParent": { 1045 "type": "boolean", 1046 "language": { 1047 "python": { 1048 "mapCase": false 1049 } 1050 } 1051 }, 1052 "remoteContext": { 1053 "type": "string", 1054 "language": { 1055 "python": { 1056 "mapCase": false 1057 } 1058 } 1059 }, 1060 "remove": { 1061 "type": "boolean", 1062 "language": { 1063 "python": { 1064 "mapCase": false 1065 } 1066 } 1067 }, 1068 "securityOpts": { 1069 "type": "array", 1070 "items": { 1071 "type": "string" 1072 }, 1073 "language": { 1074 "python": { 1075 "mapCase": false 1076 } 1077 } 1078 }, 1079 "sessionId": { 1080 "type": "string", 1081 "language": { 1082 "python": { 1083 "mapCase": false 1084 } 1085 } 1086 }, 1087 "shmSize": { 1088 "type": "integer", 1089 "language": { 1090 "python": { 1091 "mapCase": false 1092 } 1093 } 1094 }, 1095 "squash": { 1096 "type": "boolean", 1097 "language": { 1098 "python": { 1099 "mapCase": false 1100 } 1101 } 1102 }, 1103 "suppressOutput": { 1104 "type": "boolean", 1105 "language": { 1106 "python": { 1107 "mapCase": false 1108 } 1109 } 1110 }, 1111 "target": { 1112 "type": "string", 1113 "language": { 1114 "python": { 1115 "mapCase": false 1116 } 1117 } 1118 }, 1119 "ulimits": { 1120 "type": "array", 1121 "items": { 1122 "$ref": "#/types/docker:index/RegistryImageBuildUlimit:RegistryImageBuildUlimit" 1123 }, 1124 "language": { 1125 "python": { 1126 "mapCase": false 1127 } 1128 } 1129 }, 1130 "version": { 1131 "type": "string", 1132 "language": { 1133 "python": { 1134 "mapCase": false 1135 } 1136 } 1137 } 1138 }, 1139 "type": "object", 1140 "required": [ 1141 "context" 1142 ] 1143 }, 1144 "docker:index/RegistryImageBuildAuthConfig:RegistryImageBuildAuthConfig": { 1145 "properties": { 1146 "auth": { 1147 "type": "string", 1148 "language": { 1149 "python": { 1150 "mapCase": false 1151 } 1152 } 1153 }, 1154 "email": { 1155 "type": "string", 1156 "language": { 1157 "python": { 1158 "mapCase": false 1159 } 1160 } 1161 }, 1162 "hostName": { 1163 "type": "string", 1164 "language": { 1165 "python": { 1166 "mapCase": false 1167 } 1168 } 1169 }, 1170 "identityToken": { 1171 "type": "string", 1172 "language": { 1173 "python": { 1174 "mapCase": false 1175 } 1176 } 1177 }, 1178 "password": { 1179 "type": "string", 1180 "language": { 1181 "python": { 1182 "mapCase": false 1183 } 1184 } 1185 }, 1186 "registryToken": { 1187 "type": "string", 1188 "language": { 1189 "python": { 1190 "mapCase": false 1191 } 1192 } 1193 }, 1194 "serverAddress": { 1195 "type": "string", 1196 "language": { 1197 "python": { 1198 "mapCase": false 1199 } 1200 } 1201 }, 1202 "userName": { 1203 "type": "string", 1204 "language": { 1205 "python": { 1206 "mapCase": false 1207 } 1208 } 1209 } 1210 }, 1211 "type": "object", 1212 "required": [ 1213 "hostName" 1214 ] 1215 }, 1216 "docker:index/RegistryImageBuildUlimit:RegistryImageBuildUlimit": { 1217 "properties": { 1218 "hard": { 1219 "type": "integer", 1220 "language": { 1221 "python": { 1222 "mapCase": false 1223 } 1224 } 1225 }, 1226 "name": { 1227 "type": "string", 1228 "language": { 1229 "python": { 1230 "mapCase": false 1231 } 1232 } 1233 }, 1234 "soft": { 1235 "type": "integer", 1236 "language": { 1237 "python": { 1238 "mapCase": false 1239 } 1240 } 1241 } 1242 }, 1243 "type": "object", 1244 "required": [ 1245 "hard", 1246 "name", 1247 "soft" 1248 ] 1249 }, 1250 "docker:index/RemoteImageBuild:RemoteImageBuild": { 1251 "properties": { 1252 "buildArg": { 1253 "type": "object", 1254 "additionalProperties": { 1255 "type": "string" 1256 }, 1257 "language": { 1258 "python": { 1259 "mapCase": false 1260 } 1261 } 1262 }, 1263 "dockerfile": { 1264 "type": "string", 1265 "language": { 1266 "python": { 1267 "mapCase": false 1268 } 1269 } 1270 }, 1271 "forceRemove": { 1272 "type": "boolean", 1273 "language": { 1274 "python": { 1275 "mapCase": false 1276 } 1277 } 1278 }, 1279 "label": { 1280 "type": "object", 1281 "additionalProperties": { 1282 "type": "string" 1283 }, 1284 "language": { 1285 "python": { 1286 "mapCase": false 1287 } 1288 } 1289 }, 1290 "noCache": { 1291 "type": "boolean", 1292 "language": { 1293 "python": { 1294 "mapCase": false 1295 } 1296 } 1297 }, 1298 "path": { 1299 "type": "string", 1300 "language": { 1301 "python": { 1302 "mapCase": false 1303 } 1304 } 1305 }, 1306 "remove": { 1307 "type": "boolean", 1308 "language": { 1309 "python": { 1310 "mapCase": false 1311 } 1312 } 1313 }, 1314 "tags": { 1315 "type": "array", 1316 "items": { 1317 "type": "string" 1318 }, 1319 "language": { 1320 "python": { 1321 "mapCase": false 1322 } 1323 } 1324 }, 1325 "target": { 1326 "type": "string", 1327 "language": { 1328 "python": { 1329 "mapCase": false 1330 } 1331 } 1332 } 1333 }, 1334 "type": "object", 1335 "required": [ 1336 "path" 1337 ] 1338 }, 1339 "docker:index/SecretLabel:SecretLabel": { 1340 "properties": { 1341 "label": { 1342 "type": "string", 1343 "language": { 1344 "python": { 1345 "mapCase": false 1346 } 1347 } 1348 }, 1349 "value": { 1350 "type": "string", 1351 "language": { 1352 "python": { 1353 "mapCase": false 1354 } 1355 } 1356 } 1357 }, 1358 "type": "object", 1359 "required": [ 1360 "label", 1361 "value" 1362 ] 1363 }, 1364 "docker:index/ServiceAuth:ServiceAuth": { 1365 "properties": { 1366 "password": { 1367 "type": "string", 1368 "language": { 1369 "python": { 1370 "mapCase": false 1371 } 1372 } 1373 }, 1374 "serverAddress": { 1375 "type": "string", 1376 "language": { 1377 "python": { 1378 "mapCase": false 1379 } 1380 } 1381 }, 1382 "username": { 1383 "type": "string", 1384 "language": { 1385 "python": { 1386 "mapCase": false 1387 } 1388 } 1389 } 1390 }, 1391 "type": "object", 1392 "required": [ 1393 "serverAddress" 1394 ] 1395 }, 1396 "docker:index/ServiceConvergeConfig:ServiceConvergeConfig": { 1397 "properties": { 1398 "delay": { 1399 "type": "string", 1400 "language": { 1401 "python": { 1402 "mapCase": false 1403 } 1404 } 1405 }, 1406 "timeout": { 1407 "type": "string", 1408 "language": { 1409 "python": { 1410 "mapCase": false 1411 } 1412 } 1413 } 1414 }, 1415 "type": "object" 1416 }, 1417 "docker:index/ServiceEndpointSpec:ServiceEndpointSpec": { 1418 "properties": { 1419 "mode": { 1420 "type": "string", 1421 "language": { 1422 "python": { 1423 "mapCase": false 1424 } 1425 } 1426 }, 1427 "ports": { 1428 "type": "array", 1429 "items": { 1430 "$ref": "#/types/docker:index/ServiceEndpointSpecPort:ServiceEndpointSpecPort" 1431 }, 1432 "language": { 1433 "python": { 1434 "mapCase": false 1435 } 1436 } 1437 } 1438 }, 1439 "type": "object", 1440 "language": { 1441 "nodejs": { 1442 "requiredOutputs": [ 1443 "mode" 1444 ] 1445 } 1446 } 1447 }, 1448 "docker:index/ServiceEndpointSpecPort:ServiceEndpointSpecPort": { 1449 "properties": { 1450 "name": { 1451 "type": "string", 1452 "language": { 1453 "python": { 1454 "mapCase": false 1455 } 1456 } 1457 }, 1458 "protocol": { 1459 "type": "string", 1460 "language": { 1461 "python": { 1462 "mapCase": false 1463 } 1464 } 1465 }, 1466 "publishMode": { 1467 "type": "string", 1468 "language": { 1469 "python": { 1470 "mapCase": false 1471 } 1472 } 1473 }, 1474 "publishedPort": { 1475 "type": "integer", 1476 "language": { 1477 "python": { 1478 "mapCase": false 1479 } 1480 } 1481 }, 1482 "targetPort": { 1483 "type": "integer", 1484 "language": { 1485 "python": { 1486 "mapCase": false 1487 } 1488 } 1489 } 1490 }, 1491 "type": "object", 1492 "required": [ 1493 "targetPort" 1494 ], 1495 "language": { 1496 "nodejs": { 1497 "requiredOutputs": [ 1498 "publishedPort", 1499 "targetPort" 1500 ] 1501 } 1502 } 1503 }, 1504 "docker:index/ServiceLabel:ServiceLabel": { 1505 "properties": { 1506 "label": { 1507 "type": "string", 1508 "language": { 1509 "python": { 1510 "mapCase": false 1511 } 1512 } 1513 }, 1514 "value": { 1515 "type": "string", 1516 "language": { 1517 "python": { 1518 "mapCase": false 1519 } 1520 } 1521 } 1522 }, 1523 "type": "object", 1524 "required": [ 1525 "label", 1526 "value" 1527 ] 1528 }, 1529 "docker:index/ServiceMode:ServiceMode": { 1530 "properties": { 1531 "global": { 1532 "type": "boolean", 1533 "language": { 1534 "python": { 1535 "mapCase": false 1536 } 1537 } 1538 }, 1539 "replicated": { 1540 "$ref": "#/types/docker:index/ServiceModeReplicated:ServiceModeReplicated", 1541 "language": { 1542 "python": { 1543 "mapCase": false 1544 } 1545 } 1546 } 1547 }, 1548 "type": "object", 1549 "language": { 1550 "nodejs": { 1551 "requiredOutputs": [ 1552 "replicated" 1553 ] 1554 } 1555 } 1556 }, 1557 "docker:index/ServiceModeReplicated:ServiceModeReplicated": { 1558 "properties": { 1559 "replicas": { 1560 "type": "integer", 1561 "language": { 1562 "python": { 1563 "mapCase": false 1564 } 1565 } 1566 } 1567 }, 1568 "type": "object" 1569 }, 1570 "docker:index/ServiceRollbackConfig:ServiceRollbackConfig": { 1571 "properties": { 1572 "delay": { 1573 "type": "string", 1574 "language": { 1575 "python": { 1576 "mapCase": false 1577 } 1578 } 1579 }, 1580 "failureAction": { 1581 "type": "string", 1582 "language": { 1583 "python": { 1584 "mapCase": false 1585 } 1586 } 1587 }, 1588 "maxFailureRatio": { 1589 "type": "string", 1590 "language": { 1591 "python": { 1592 "mapCase": false 1593 } 1594 } 1595 }, 1596 "monitor": { 1597 "type": "string", 1598 "language": { 1599 "python": { 1600 "mapCase": false 1601 } 1602 } 1603 }, 1604 "order": { 1605 "type": "string", 1606 "language": { 1607 "python": { 1608 "mapCase": false 1609 } 1610 } 1611 }, 1612 "parallelism": { 1613 "type": "integer", 1614 "language": { 1615 "python": { 1616 "mapCase": false 1617 } 1618 } 1619 } 1620 }, 1621 "type": "object" 1622 }, 1623 "docker:index/ServiceTaskSpec:ServiceTaskSpec": { 1624 "properties": { 1625 "containerSpec": { 1626 "$ref": "#/types/docker:index/ServiceTaskSpecContainerSpec:ServiceTaskSpecContainerSpec", 1627 "language": { 1628 "python": { 1629 "mapCase": false 1630 } 1631 } 1632 }, 1633 "forceUpdate": { 1634 "type": "integer", 1635 "language": { 1636 "python": { 1637 "mapCase": false 1638 } 1639 } 1640 }, 1641 "logDriver": { 1642 "$ref": "#/types/docker:index/ServiceTaskSpecLogDriver:ServiceTaskSpecLogDriver", 1643 "language": { 1644 "python": { 1645 "mapCase": false 1646 } 1647 } 1648 }, 1649 "networks": { 1650 "type": "array", 1651 "items": { 1652 "type": "string" 1653 }, 1654 "language": { 1655 "python": { 1656 "mapCase": false 1657 } 1658 } 1659 }, 1660 "placement": { 1661 "$ref": "#/types/docker:index/ServiceTaskSpecPlacement:ServiceTaskSpecPlacement", 1662 "language": { 1663 "python": { 1664 "mapCase": false 1665 } 1666 } 1667 }, 1668 "resources": { 1669 "$ref": "#/types/docker:index/ServiceTaskSpecResources:ServiceTaskSpecResources", 1670 "language": { 1671 "python": { 1672 "mapCase": false 1673 } 1674 } 1675 }, 1676 "restartPolicy": { 1677 "$ref": "#/types/docker:index/ServiceTaskSpecRestartPolicy:ServiceTaskSpecRestartPolicy", 1678 "language": { 1679 "python": { 1680 "mapCase": false 1681 } 1682 } 1683 }, 1684 "runtime": { 1685 "type": "string", 1686 "language": { 1687 "python": { 1688 "mapCase": false 1689 } 1690 } 1691 } 1692 }, 1693 "type": "object", 1694 "required": [ 1695 "containerSpec" 1696 ], 1697 "language": { 1698 "nodejs": { 1699 "requiredOutputs": [ 1700 "containerSpec", 1701 "forceUpdate", 1702 "placement", 1703 "resources", 1704 "restartPolicy", 1705 "runtime" 1706 ] 1707 } 1708 } 1709 }, 1710 "docker:index/ServiceTaskSpecContainerSpec:ServiceTaskSpecContainerSpec": { 1711 "properties": { 1712 "args": { 1713 "type": "array", 1714 "items": { 1715 "type": "string" 1716 }, 1717 "language": { 1718 "python": { 1719 "mapCase": false 1720 } 1721 } 1722 }, 1723 "commands": { 1724 "type": "array", 1725 "items": { 1726 "type": "string" 1727 }, 1728 "language": { 1729 "python": { 1730 "mapCase": false 1731 } 1732 } 1733 }, 1734 "configs": { 1735 "type": "array", 1736 "items": { 1737 "$ref": "#/types/docker:index/ServiceTaskSpecContainerSpecConfig:ServiceTaskSpecContainerSpecConfig" 1738 }, 1739 "language": { 1740 "python": { 1741 "mapCase": false 1742 } 1743 } 1744 }, 1745 "dir": { 1746 "type": "string", 1747 "language": { 1748 "python": { 1749 "mapCase": false 1750 } 1751 } 1752 }, 1753 "dnsConfig": { 1754 "$ref": "#/types/docker:index/ServiceTaskSpecContainerSpecDnsConfig:ServiceTaskSpecContainerSpecDnsConfig", 1755 "language": { 1756 "python": { 1757 "mapCase": false 1758 } 1759 } 1760 }, 1761 "env": { 1762 "type": "object", 1763 "additionalProperties": { 1764 "type": "string" 1765 }, 1766 "language": { 1767 "python": { 1768 "mapCase": false 1769 } 1770 } 1771 }, 1772 "groups": { 1773 "type": "array", 1774 "items": { 1775 "type": "string" 1776 }, 1777 "language": { 1778 "python": { 1779 "mapCase": false 1780 } 1781 } 1782 }, 1783 "healthcheck": { 1784 "$ref": "#/types/docker:index/ServiceTaskSpecContainerSpecHealthcheck:ServiceTaskSpecContainerSpecHealthcheck", 1785 "language": { 1786 "python": { 1787 "mapCase": false 1788 } 1789 } 1790 }, 1791 "hostname": { 1792 "type": "string", 1793 "language": { 1794 "python": { 1795 "mapCase": false 1796 } 1797 } 1798 }, 1799 "hosts": { 1800 "type": "array", 1801 "items": { 1802 "$ref": "#/types/docker:index/ServiceTaskSpecContainerSpecHost:ServiceTaskSpecContainerSpecHost" 1803 }, 1804 "language": { 1805 "python": { 1806 "mapCase": false 1807 } 1808 } 1809 }, 1810 "image": { 1811 "type": "string", 1812 "language": { 1813 "python": { 1814 "mapCase": false 1815 } 1816 } 1817 }, 1818 "isolation": { 1819 "type": "string", 1820 "language": { 1821 "python": { 1822 "mapCase": false 1823 } 1824 } 1825 }, 1826 "labels": { 1827 "type": "array", 1828 "items": { 1829 "$ref": "#/types/docker:index/ServiceTaskSpecContainerSpecLabel:ServiceTaskSpecContainerSpecLabel" 1830 }, 1831 "language": { 1832 "python": { 1833 "mapCase": false 1834 } 1835 } 1836 }, 1837 "mounts": { 1838 "type": "array", 1839 "items": { 1840 "$ref": "#/types/docker:index/ServiceTaskSpecContainerSpecMount:ServiceTaskSpecContainerSpecMount" 1841 }, 1842 "language": { 1843 "python": { 1844 "mapCase": false 1845 } 1846 } 1847 }, 1848 "privileges": { 1849 "$ref": "#/types/docker:index/ServiceTaskSpecContainerSpecPrivileges:ServiceTaskSpecContainerSpecPrivileges", 1850 "language": { 1851 "python": { 1852 "mapCase": false 1853 } 1854 } 1855 }, 1856 "readOnly": { 1857 "type": "boolean", 1858 "language": { 1859 "python": { 1860 "mapCase": false 1861 } 1862 } 1863 }, 1864 "secrets": { 1865 "type": "array", 1866 "items": { 1867 "$ref": "#/types/docker:index/ServiceTaskSpecContainerSpecSecret:ServiceTaskSpecContainerSpecSecret" 1868 }, 1869 "language": { 1870 "python": { 1871 "mapCase": false 1872 } 1873 } 1874 }, 1875 "stopGracePeriod": { 1876 "type": "string", 1877 "language": { 1878 "python": { 1879 "mapCase": false 1880 } 1881 } 1882 }, 1883 "stopSignal": { 1884 "type": "string", 1885 "language": { 1886 "python": { 1887 "mapCase": false 1888 } 1889 } 1890 }, 1891 "user": { 1892 "type": "string", 1893 "language": { 1894 "python": { 1895 "mapCase": false 1896 } 1897 } 1898 } 1899 }, 1900 "type": "object", 1901 "required": [ 1902 "image" 1903 ], 1904 "language": { 1905 "nodejs": { 1906 "requiredOutputs": [ 1907 "dnsConfig", 1908 "healthcheck", 1909 "image", 1910 "stopGracePeriod" 1911 ] 1912 } 1913 } 1914 }, 1915 "docker:index/ServiceTaskSpecContainerSpecConfig:ServiceTaskSpecContainerSpecConfig": { 1916 "properties": { 1917 "configId": { 1918 "type": "string", 1919 "language": { 1920 "python": { 1921 "mapCase": false 1922 } 1923 } 1924 }, 1925 "configName": { 1926 "type": "string", 1927 "language": { 1928 "python": { 1929 "mapCase": false 1930 } 1931 } 1932 }, 1933 "fileGid": { 1934 "type": "string", 1935 "language": { 1936 "python": { 1937 "mapCase": false 1938 } 1939 } 1940 }, 1941 "fileMode": { 1942 "type": "integer", 1943 "language": { 1944 "python": { 1945 "mapCase": false 1946 } 1947 } 1948 }, 1949 "fileName": { 1950 "type": "string", 1951 "language": { 1952 "python": { 1953 "mapCase": false 1954 } 1955 } 1956 }, 1957 "fileUid": { 1958 "type": "string", 1959 "language": { 1960 "python": { 1961 "mapCase": false 1962 } 1963 } 1964 } 1965 }, 1966 "type": "object", 1967 "required": [ 1968 "configId", 1969 "fileName" 1970 ] 1971 }, 1972 "docker:index/ServiceTaskSpecContainerSpecDnsConfig:ServiceTaskSpecContainerSpecDnsConfig": { 1973 "properties": { 1974 "nameservers": { 1975 "type": "array", 1976 "items": { 1977 "type": "string" 1978 }, 1979 "language": { 1980 "python": { 1981 "mapCase": false 1982 } 1983 } 1984 }, 1985 "options": { 1986 "type": "array", 1987 "items": { 1988 "type": "string" 1989 }, 1990 "language": { 1991 "python": { 1992 "mapCase": false 1993 } 1994 } 1995 }, 1996 "searches": { 1997 "type": "array", 1998 "items": { 1999 "type": "string" 2000 }, 2001 "language": { 2002 "python": { 2003 "mapCase": false 2004 } 2005 } 2006 } 2007 }, 2008 "type": "object", 2009 "required": [ 2010 "nameservers" 2011 ] 2012 }, 2013 "docker:index/ServiceTaskSpecContainerSpecHealthcheck:ServiceTaskSpecContainerSpecHealthcheck": { 2014 "properties": { 2015 "interval": { 2016 "type": "string", 2017 "language": { 2018 "python": { 2019 "mapCase": false 2020 } 2021 } 2022 }, 2023 "retries": { 2024 "type": "integer", 2025 "language": { 2026 "python": { 2027 "mapCase": false 2028 } 2029 } 2030 }, 2031 "startPeriod": { 2032 "type": "string", 2033 "language": { 2034 "python": { 2035 "mapCase": false 2036 } 2037 } 2038 }, 2039 "tests": { 2040 "type": "array", 2041 "items": { 2042 "type": "string" 2043 }, 2044 "language": { 2045 "python": { 2046 "mapCase": false 2047 } 2048 } 2049 }, 2050 "timeout": { 2051 "type": "string", 2052 "language": { 2053 "python": { 2054 "mapCase": false 2055 } 2056 } 2057 } 2058 }, 2059 "type": "object", 2060 "required": [ 2061 "tests" 2062 ] 2063 }, 2064 "docker:index/ServiceTaskSpecContainerSpecHost:ServiceTaskSpecContainerSpecHost": { 2065 "properties": { 2066 "host": { 2067 "type": "string", 2068 "language": { 2069 "python": { 2070 "mapCase": false 2071 } 2072 } 2073 }, 2074 "ip": { 2075 "type": "string", 2076 "language": { 2077 "python": { 2078 "mapCase": false 2079 } 2080 } 2081 } 2082 }, 2083 "type": "object", 2084 "required": [ 2085 "host", 2086 "ip" 2087 ] 2088 }, 2089 "docker:index/ServiceTaskSpecContainerSpecLabel:ServiceTaskSpecContainerSpecLabel": { 2090 "properties": { 2091 "label": { 2092 "type": "string", 2093 "language": { 2094 "python": { 2095 "mapCase": false 2096 } 2097 } 2098 }, 2099 "value": { 2100 "type": "string", 2101 "language": { 2102 "python": { 2103 "mapCase": false 2104 } 2105 } 2106 } 2107 }, 2108 "type": "object", 2109 "required": [ 2110 "label", 2111 "value" 2112 ] 2113 }, 2114 "docker:index/ServiceTaskSpecContainerSpecMount:ServiceTaskSpecContainerSpecMount": { 2115 "properties": { 2116 "bindOptions": { 2117 "$ref": "#/types/docker:index/ServiceTaskSpecContainerSpecMountBindOptions:ServiceTaskSpecContainerSpecMountBindOptions", 2118 "language": { 2119 "python": { 2120 "mapCase": false 2121 } 2122 } 2123 }, 2124 "readOnly": { 2125 "type": "boolean", 2126 "language": { 2127 "python": { 2128 "mapCase": false 2129 } 2130 } 2131 }, 2132 "source": { 2133 "type": "string", 2134 "language": { 2135 "python": { 2136 "mapCase": false 2137 } 2138 } 2139 }, 2140 "target": { 2141 "type": "string", 2142 "language": { 2143 "python": { 2144 "mapCase": false 2145 } 2146 } 2147 }, 2148 "tmpfsOptions": { 2149 "$ref": "#/types/docker:index/ServiceTaskSpecContainerSpecMountTmpfsOptions:ServiceTaskSpecContainerSpecMountTmpfsOptions", 2150 "language": { 2151 "python": { 2152 "mapCase": false 2153 } 2154 } 2155 }, 2156 "type": { 2157 "type": "string", 2158 "language": { 2159 "python": { 2160 "mapCase": false 2161 } 2162 } 2163 }, 2164 "volumeOptions": { 2165 "$ref": "#/types/docker:index/ServiceTaskSpecContainerSpecMountVolumeOptions:ServiceTaskSpecContainerSpecMountVolumeOptions", 2166 "language": { 2167 "python": { 2168 "mapCase": false 2169 } 2170 } 2171 } 2172 }, 2173 "type": "object", 2174 "required": [ 2175 "target", 2176 "type" 2177 ] 2178 }, 2179 "docker:index/ServiceTaskSpecContainerSpecMountBindOptions:ServiceTaskSpecContainerSpecMountBindOptions": { 2180 "properties": { 2181 "propagation": { 2182 "type": "string", 2183 "language": { 2184 "python": { 2185 "mapCase": false 2186 } 2187 } 2188 } 2189 }, 2190 "type": "object" 2191 }, 2192 "docker:index/ServiceTaskSpecContainerSpecMountTmpfsOptions:ServiceTaskSpecContainerSpecMountTmpfsOptions": { 2193 "properties": { 2194 "mode": { 2195 "type": "integer", 2196 "language": { 2197 "python": { 2198 "mapCase": false 2199 } 2200 } 2201 }, 2202 "sizeBytes": { 2203 "type": "integer", 2204 "language": { 2205 "python": { 2206 "mapCase": false 2207 } 2208 } 2209 } 2210 }, 2211 "type": "object" 2212 }, 2213 "docker:index/ServiceTaskSpecContainerSpecMountVolumeOptions:ServiceTaskSpecContainerSpecMountVolumeOptions": { 2214 "properties": { 2215 "driverName": { 2216 "type": "string", 2217 "language": { 2218 "python": { 2219 "mapCase": false 2220 } 2221 } 2222 }, 2223 "driverOptions": { 2224 "type": "object", 2225 "additionalProperties": { 2226 "type": "string" 2227 }, 2228 "language": { 2229 "python": { 2230 "mapCase": false 2231 } 2232 } 2233 }, 2234 "labels": { 2235 "type": "array", 2236 "items": { 2237 "$ref": "#/types/docker:index/ServiceTaskSpecContainerSpecMountVolumeOptionsLabel:ServiceTaskSpecContainerSpecMountVolumeOptionsLabel" 2238 }, 2239 "language": { 2240 "python": { 2241 "mapCase": false 2242 } 2243 } 2244 }, 2245 "noCopy": { 2246 "type": "boolean", 2247 "language": { 2248 "python": { 2249 "mapCase": false 2250 } 2251 } 2252 } 2253 }, 2254 "type": "object" 2255 }, 2256 "docker:index/ServiceTaskSpecContainerSpecMountVolumeOptionsLabel:ServiceTaskSpecContainerSpecMountVolumeOptionsLabel": { 2257 "properties": { 2258 "label": { 2259 "type": "string", 2260 "language": { 2261 "python": { 2262 "mapCase": false 2263 } 2264 } 2265 }, 2266 "value": { 2267 "type": "string", 2268 "language": { 2269 "python": { 2270 "mapCase": false 2271 } 2272 } 2273 } 2274 }, 2275 "type": "object", 2276 "required": [ 2277 "label", 2278 "value" 2279 ] 2280 }, 2281 "docker:index/ServiceTaskSpecContainerSpecPrivileges:ServiceTaskSpecContainerSpecPrivileges": { 2282 "properties": { 2283 "credentialSpec": { 2284 "$ref": "#/types/docker:index/ServiceTaskSpecContainerSpecPrivilegesCredentialSpec:ServiceTaskSpecContainerSpecPrivilegesCredentialSpec", 2285 "language": { 2286 "python": { 2287 "mapCase": false 2288 } 2289 } 2290 }, 2291 "seLinuxContext": { 2292 "$ref": "#/types/docker:index/ServiceTaskSpecContainerSpecPrivilegesSeLinuxContext:ServiceTaskSpecContainerSpecPrivilegesSeLinuxContext", 2293 "language": { 2294 "python": { 2295 "mapCase": false 2296 } 2297 } 2298 } 2299 }, 2300 "type": "object" 2301 }, 2302 "docker:index/ServiceTaskSpecContainerSpecPrivilegesCredentialSpec:ServiceTaskSpecContainerSpecPrivilegesCredentialSpec": { 2303 "properties": { 2304 "file": { 2305 "type": "string", 2306 "language": { 2307 "python": { 2308 "mapCase": false 2309 } 2310 } 2311 }, 2312 "registry": { 2313 "type": "string", 2314 "language": { 2315 "python": { 2316 "mapCase": false 2317 } 2318 } 2319 } 2320 }, 2321 "type": "object" 2322 }, 2323 "docker:index/ServiceTaskSpecContainerSpecPrivilegesSeLinuxContext:ServiceTaskSpecContainerSpecPrivilegesSeLinuxContext": { 2324 "properties": { 2325 "disable": { 2326 "type": "boolean", 2327 "language": { 2328 "python": { 2329 "mapCase": false 2330 } 2331 } 2332 }, 2333 "level": { 2334 "type": "string", 2335 "language": { 2336 "python": { 2337 "mapCase": false 2338 } 2339 } 2340 }, 2341 "role": { 2342 "type": "string", 2343 "language": { 2344 "python": { 2345 "mapCase": false 2346 } 2347 } 2348 }, 2349 "type": { 2350 "type": "string", 2351 "language": { 2352 "python": { 2353 "mapCase": false 2354 } 2355 } 2356 }, 2357 "user": { 2358 "type": "string", 2359 "language": { 2360 "python": { 2361 "mapCase": false 2362 } 2363 } 2364 } 2365 }, 2366 "type": "object" 2367 }, 2368 "docker:index/ServiceTaskSpecContainerSpecSecret:ServiceTaskSpecContainerSpecSecret": { 2369 "properties": { 2370 "fileGid": { 2371 "type": "string", 2372 "language": { 2373 "python": { 2374 "mapCase": false 2375 } 2376 } 2377 }, 2378 "fileMode": { 2379 "type": "integer", 2380 "language": { 2381 "python": { 2382 "mapCase": false 2383 } 2384 } 2385 }, 2386 "fileName": { 2387 "type": "string", 2388 "language": { 2389 "python": { 2390 "mapCase": false 2391 } 2392 } 2393 }, 2394 "fileUid": { 2395 "type": "string", 2396 "language": { 2397 "python": { 2398 "mapCase": false 2399 } 2400 } 2401 }, 2402 "secretId": { 2403 "type": "string", 2404 "language": { 2405 "python": { 2406 "mapCase": false 2407 } 2408 } 2409 }, 2410 "secretName": { 2411 "type": "string", 2412 "language": { 2413 "python": { 2414 "mapCase": false 2415 } 2416 } 2417 } 2418 }, 2419 "type": "object", 2420 "required": [ 2421 "fileName", 2422 "secretId" 2423 ] 2424 }, 2425 "docker:index/ServiceTaskSpecLogDriver:ServiceTaskSpecLogDriver": { 2426 "properties": { 2427 "name": { 2428 "type": "string", 2429 "language": { 2430 "python": { 2431 "mapCase": false 2432 } 2433 } 2434 }, 2435 "options": { 2436 "type": "object", 2437 "additionalProperties": { 2438 "type": "string" 2439 }, 2440 "language": { 2441 "python": { 2442 "mapCase": false 2443 } 2444 } 2445 } 2446 }, 2447 "type": "object", 2448 "required": [ 2449 "name" 2450 ] 2451 }, 2452 "docker:index/ServiceTaskSpecPlacement:ServiceTaskSpecPlacement": { 2453 "properties": { 2454 "constraints": { 2455 "type": "array", 2456 "items": { 2457 "type": "string" 2458 }, 2459 "language": { 2460 "python": { 2461 "mapCase": false 2462 } 2463 } 2464 }, 2465 "maxReplicas": { 2466 "type": "integer", 2467 "language": { 2468 "python": { 2469 "mapCase": false 2470 } 2471 } 2472 }, 2473 "platforms": { 2474 "type": "array", 2475 "items": { 2476 "$ref": "#/types/docker:index/ServiceTaskSpecPlacementPlatform:ServiceTaskSpecPlacementPlatform" 2477 }, 2478 "language": { 2479 "python": { 2480 "mapCase": false 2481 } 2482 } 2483 }, 2484 "prefs": { 2485 "type": "array", 2486 "items": { 2487 "type": "string" 2488 }, 2489 "language": { 2490 "python": { 2491 "mapCase": false 2492 } 2493 } 2494 } 2495 }, 2496 "type": "object" 2497 }, 2498 "docker:index/ServiceTaskSpecPlacementPlatform:ServiceTaskSpecPlacementPlatform": { 2499 "properties": { 2500 "architecture": { 2501 "type": "string", 2502 "language": { 2503 "python": { 2504 "mapCase": false 2505 } 2506 } 2507 }, 2508 "os": { 2509 "type": "string", 2510 "language": { 2511 "python": { 2512 "mapCase": false 2513 } 2514 } 2515 } 2516 }, 2517 "type": "object", 2518 "required": [ 2519 "architecture", 2520 "os" 2521 ] 2522 }, 2523 "docker:index/ServiceTaskSpecResources:ServiceTaskSpecResources": { 2524 "properties": { 2525 "limits": { 2526 "$ref": "#/types/docker:index/ServiceTaskSpecResourcesLimits:ServiceTaskSpecResourcesLimits", 2527 "language": { 2528 "python": { 2529 "mapCase": false 2530 } 2531 } 2532 }, 2533 "reservation": { 2534 "$ref": "#/types/docker:index/ServiceTaskSpecResourcesReservation:ServiceTaskSpecResourcesReservation", 2535 "language": { 2536 "python": { 2537 "mapCase": false 2538 } 2539 } 2540 } 2541 }, 2542 "type": "object" 2543 }, 2544 "docker:index/ServiceTaskSpecResourcesLimits:ServiceTaskSpecResourcesLimits": { 2545 "properties": { 2546 "memoryBytes": { 2547 "type": "integer", 2548 "language": { 2549 "python": { 2550 "mapCase": false 2551 } 2552 } 2553 }, 2554 "nanoCpus": { 2555 "type": "integer", 2556 "language": { 2557 "python": { 2558 "mapCase": false 2559 } 2560 } 2561 } 2562 }, 2563 "type": "object" 2564 }, 2565 "docker:index/ServiceTaskSpecResourcesReservation:ServiceTaskSpecResourcesReservation": { 2566 "properties": { 2567 "genericResources": { 2568 "$ref": "#/types/docker:index/ServiceTaskSpecResourcesReservationGenericResources:ServiceTaskSpecResourcesReservationGenericResources", 2569 "language": { 2570 "python": { 2571 "mapCase": false 2572 } 2573 } 2574 }, 2575 "memoryBytes": { 2576 "type": "integer", 2577 "language": { 2578 "python": { 2579 "mapCase": false 2580 } 2581 } 2582 }, 2583 "nanoCpus": { 2584 "type": "integer", 2585 "language": { 2586 "python": { 2587 "mapCase": false 2588 } 2589 } 2590 } 2591 }, 2592 "type": "object" 2593 }, 2594 "docker:index/ServiceTaskSpecResourcesReservationGenericResources:ServiceTaskSpecResourcesReservationGenericResources": { 2595 "properties": { 2596 "discreteResourcesSpecs": { 2597 "type": "array", 2598 "items": { 2599 "type": "string" 2600 }, 2601 "language": { 2602 "python": { 2603 "mapCase": false 2604 } 2605 } 2606 }, 2607 "namedResourcesSpecs": { 2608 "type": "array", 2609 "items": { 2610 "type": "string" 2611 }, 2612 "language": { 2613 "python": { 2614 "mapCase": false 2615 } 2616 } 2617 } 2618 }, 2619 "type": "object" 2620 }, 2621 "docker:index/ServiceTaskSpecRestartPolicy:ServiceTaskSpecRestartPolicy": { 2622 "properties": { 2623 "condition": { 2624 "type": "string", 2625 "language": { 2626 "python": { 2627 "mapCase": false 2628 } 2629 } 2630 }, 2631 "delay": { 2632 "type": "string", 2633 "language": { 2634 "python": { 2635 "mapCase": false 2636 } 2637 } 2638 }, 2639 "maxAttempts": { 2640 "type": "integer", 2641 "language": { 2642 "python": { 2643 "mapCase": false 2644 } 2645 } 2646 }, 2647 "window": { 2648 "type": "string", 2649 "language": { 2650 "python": { 2651 "mapCase": false 2652 } 2653 } 2654 } 2655 }, 2656 "type": "object" 2657 }, 2658 "docker:index/ServiceUpdateConfig:ServiceUpdateConfig": { 2659 "properties": { 2660 "delay": { 2661 "type": "string", 2662 "language": { 2663 "python": { 2664 "mapCase": false 2665 } 2666 } 2667 }, 2668 "failureAction": { 2669 "type": "string", 2670 "language": { 2671 "python": { 2672 "mapCase": false 2673 } 2674 } 2675 }, 2676 "maxFailureRatio": { 2677 "type": "string", 2678 "language": { 2679 "python": { 2680 "mapCase": false 2681 } 2682 } 2683 }, 2684 "monitor": { 2685 "type": "string", 2686 "language": { 2687 "python": { 2688 "mapCase": false 2689 } 2690 } 2691 }, 2692 "order": { 2693 "type": "string", 2694 "language": { 2695 "python": { 2696 "mapCase": false 2697 } 2698 } 2699 }, 2700 "parallelism": { 2701 "type": "integer", 2702 "language": { 2703 "python": { 2704 "mapCase": false 2705 } 2706 } 2707 } 2708 }, 2709 "type": "object" 2710 }, 2711 "docker:index/VolumeLabel:VolumeLabel": { 2712 "properties": { 2713 "label": { 2714 "type": "string", 2715 "language": { 2716 "python": { 2717 "mapCase": false 2718 } 2719 } 2720 }, 2721 "value": { 2722 "type": "string", 2723 "language": { 2724 "python": { 2725 "mapCase": false 2726 } 2727 } 2728 } 2729 }, 2730 "type": "object", 2731 "required": [ 2732 "label", 2733 "value" 2734 ] 2735 }, 2736 "docker:index/getNetworkIpamConfig:getNetworkIpamConfig": { 2737 "properties": { 2738 "auxAddress": { 2739 "type": "object", 2740 "additionalProperties": { 2741 "$ref": "pulumi.json#/Any" 2742 }, 2743 "language": { 2744 "python": { 2745 "mapCase": false 2746 } 2747 } 2748 }, 2749 "gateway": { 2750 "type": "string", 2751 "language": { 2752 "python": { 2753 "mapCase": false 2754 } 2755 } 2756 }, 2757 "ipRange": { 2758 "type": "string", 2759 "language": { 2760 "python": { 2761 "mapCase": false 2762 } 2763 } 2764 }, 2765 "subnet": { 2766 "type": "string", 2767 "language": { 2768 "python": { 2769 "mapCase": false 2770 } 2771 } 2772 } 2773 }, 2774 "type": "object" 2775 } 2776 }, 2777 "provider": { 2778 "description": "The provider type for the docker package. By default, resources use package-wide configuration\nsettings, however an explicit `Provider` instance may be created and passed during resource\nconstruction to achieve fine-grained programmatic control over provider settings. See the\n[documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.\n", 2779 "inputProperties": { 2780 "caMaterial": { 2781 "type": "string", 2782 "description": "PEM-encoded content of Docker host CA certificate\n" 2783 }, 2784 "certMaterial": { 2785 "type": "string", 2786 "description": "PEM-encoded content of Docker client certificate\n" 2787 }, 2788 "certPath": { 2789 "type": "string", 2790 "description": "Path to directory with Docker TLS config\n" 2791 }, 2792 "host": { 2793 "type": "string", 2794 "description": "The Docker daemon address\n", 2795 "default": "unix:///var/run/docker.sock", 2796 "defaultInfo": { 2797 "environment": [ 2798 "DOCKER_HOST" 2799 ] 2800 } 2801 }, 2802 "keyMaterial": { 2803 "type": "string", 2804 "description": "PEM-encoded content of Docker client private key\n" 2805 }, 2806 "registryAuth": { 2807 "type": "array", 2808 "items": { 2809 "$ref": "#/types/docker:index/ProviderRegistryAuth:ProviderRegistryAuth" 2810 } 2811 } 2812 } 2813 }, 2814 "resources": { 2815 "docker:index/container:Container": { 2816 "description": "\n\n\n## Import\n\n### Example Assuming you created a `container` as follows #!/bin/bash docker run --name foo -p8080:80 -d nginx\n\n# prints the container ID\n\n9a550c0f0163d39d77222d3efd58701b625d47676c25c686c95b5b92d1cba6fd you provide the definition for the resource as follows terraform resource \"docker_container\" \"foo\" {\n\n name\n\n= \"foo\"\n\n image = \"nginx\"\n\n ports {\n\n\n\n internal = \"80\"\n\n\n\n external = \"8080\"\n\n } } then the import command is as follows #!/bin/bash\n\n```sh\n $ pulumi import docker:index/container:Container foo 9a550c0f0163d39d77222d3efd58701b625d47676c25c686c95b5b92d1cba6fd\n```\n\n ", 2817 "properties": { 2818 "attach": { 2819 "type": "boolean", 2820 "description": "If `true` attach to the container after its creation and waits the end of its execution. Defaults to `false`.\n" 2821 }, 2822 "bridge": { 2823 "type": "string", 2824 "description": "The network bridge of the container as read from its NetworkSettings.\n" 2825 }, 2826 "capabilities": { 2827 "$ref": "#/types/docker:index/ContainerCapabilities:ContainerCapabilities", 2828 "description": "Add or drop certrain linux capabilities.\n" 2829 }, 2830 "command": { 2831 "type": "array", 2832 "items": { 2833 "type": "string" 2834 }, 2835 "description": "The command to use to start the container. For example, to run `/usr/bin/myprogram -f baz.conf` set the command to be\n`[\"/usr/bin/myprogram\",\"-\",\"baz.con\"]`.\n" 2836 }, 2837 "containerLogs": { 2838 "type": "string", 2839 "description": "The logs of the container if its execution is done (`attach` must be disabled).\n" 2840 }, 2841 "cpuSet": { 2842 "type": "string", 2843 "description": "A comma-separated list or hyphen-separated range of CPUs a container can use, e.g. `0-1`.\n" 2844 }, 2845 "cpuShares": { 2846 "type": "integer", 2847 "description": "CPU shares (relative weight) for the container.\n" 2848 }, 2849 "destroyGraceSeconds": { 2850 "type": "integer", 2851 "description": "If defined will attempt to stop the container before destroying. Container will be destroyed after `n` seconds or on\nsuccessful stop.\n" 2852 }, 2853 "devices": { 2854 "type": "array", 2855 "items": { 2856 "$ref": "#/types/docker:index/ContainerDevice:ContainerDevice" 2857 }, 2858 "description": "Bind devices to the container.\n" 2859 }, 2860 "dns": { 2861 "type": "array", 2862 "items": { 2863 "type": "string" 2864 }, 2865 "description": "DNS servers to use.\n" 2866 }, 2867 "dnsOpts": { 2868 "type": "array", 2869 "items": { 2870 "type": "string" 2871 }, 2872 "description": "DNS options used by the DNS provider(s), see `resolv.conf` documentation for valid list of options.\n" 2873 }, 2874 "dnsSearches": { 2875 "type": "array", 2876 "items": { 2877 "type": "string" 2878 }, 2879 "description": "DNS search domains that are used when bare unqualified hostnames are used inside of the container.\n" 2880 }, 2881 "domainname": { 2882 "type": "string", 2883 "description": "Domain name of the container.\n" 2884 }, 2885 "entrypoints": { 2886 "type": "array", 2887 "items": { 2888 "type": "string" 2889 }, 2890 "description": "The command to use as the Entrypoint for the container. The Entrypoint allows you to configure a container to run as an\nexecutable. For example, to run `/usr/bin/myprogram` when starting a container, set the entrypoint to be\n`\"/usr/bin/myprogra\"]`.\n" 2891 }, 2892 "envs": { 2893 "type": "array", 2894 "items": { 2895 "type": "string" 2896 }, 2897 "description": "Environment variables to set in the form of `KEY=VALUE`, e.g. `DEBUG=0`\n" 2898 }, 2899 "exitCode": { 2900 "type": "integer", 2901 "description": "The exit code of the container if its execution is done (`must_run` must be disabled).\n" 2902 }, 2903 "gateway": { 2904 "type": "string", 2905 "description": "The network gateway of the container.\n", 2906 "deprecationMessage": "Use `network_data` instead. The network gateway of the container as read from its NetworkSettings." 2907 }, 2908 "groupAdds": { 2909 "type": "array", 2910 "items": { 2911 "type": "string" 2912 }, 2913 "description": "Additional groups for the container user\n" 2914 }, 2915 "healthcheck": { 2916 "$ref": "#/types/docker:index/ContainerHealthcheck:ContainerHealthcheck", 2917 "description": "A test to perform to check that the container is healthy\n" 2918 }, 2919 "hostname": { 2920 "type": "string", 2921 "description": "Hostname of the container.\n" 2922 }, 2923 "hosts": { 2924 "type": "array", 2925 "items": { 2926 "$ref": "#/types/docker:index/ContainerHost:ContainerHost" 2927 }, 2928 "description": "Additional hosts to add to the container.\n" 2929 }, 2930 "image": { 2931 "type": "string", 2932 "description": "The ID of the image to back this container. The easiest way to get this value is to use the `docker_image` resource as\nis shown in the example.\n" 2933 }, 2934 "init": { 2935 "type": "boolean", 2936 "description": "Configured whether an init process should be injected for this container. If unset this will default to the `dockerd`\ndefaults.\n" 2937 }, 2938 "ipAddress": { 2939 "type": "string", 2940 "description": "The IP address of the container.\n", 2941 "deprecationMessage": "Use `network_data` instead. The IP address of the container's first network it." 2942 }, 2943 "ipPrefixLength": { 2944 "type": "integer", 2945 "description": "The IP prefix length of the container.\n", 2946 "deprecationMessage": "Use `network_data` instead. The IP prefix length of the container as read from its NetworkSettings." 2947 }, 2948 "ipcMode": { 2949 "type": "string", 2950 "description": "IPC sharing mode for the container. Possible values are: `none`, `private`, `shareable`, `container:<name|id>` or\n`host`.\n" 2951 }, 2952 "labels": { 2953 "type": "array", 2954 "items": { 2955 "$ref": "#/types/docker:index/ContainerLabel:ContainerLabel" 2956 }, 2957 "description": "User-defined key/value metadata\n" 2958 }, 2959 "links": { 2960 "type": "array", 2961 "items": { 2962 "type": "string" 2963 }, 2964 "description": "Set of links for link based connectivity between containers that are running on the same host.\n", 2965 "deprecationMessage": "The --link flag is a legacy feature of Docker. It may eventually be removed." 2966 }, 2967 "logDriver": { 2968 "type": "string", 2969 "description": "The logging driver to use for the container. Defaults to `json-file`.\n" 2970 }, 2971 "logOpts": { 2972 "type": "object", 2973 "additionalProperties": { 2974 "$ref": "pulumi.json#/Any" 2975 }, 2976 "description": "Key/value pairs to use as options for the logging driver.\n" 2977 }, 2978 "logs": { 2979 "type": "boolean", 2980 "description": "Save the container logs (`attach` must be enabled). Defaults to `false`.\n" 2981 }, 2982 "maxRetryCount": { 2983 "type": "integer", 2984 "description": "The maximum amount of times to an attempt a restart when `restart` is set to 'on-failure'.\n" 2985 }, 2986 "memory": { 2987 "type": "integer", 2988 "description": "The memory limit for the container in MBs.\n" 2989 }, 2990 "memorySwap": { 2991 "type": "integer", 2992 "description": "The total memory limit (memory + swap) for the container in MBs. This setting may compute to `-1` after `terraform\napply` if the target host doesn't support memory swap, when that is the case docker will use a soft limitation.\n" 2993 }, 2994 "mounts": { 2995 "type": "array", 2996 "items": { 2997 "$ref": "#/types/docker:index/ContainerMount:ContainerMount" 2998 }, 2999 "description": "Specification for mounts to be added to containers created as part of the service.\n" 3000 }, 3001 "mustRun": { 3002 "type": "boolean", 3003 "description": "If `true`, then the Docker container will be kept running. If `false`, then as long as the container exists, Terraform\nassumes it is successful. Defaults to `true`.\n" 3004 }, 3005 "name": { 3006 "type": "string", 3007 "description": "The name of the container.\n" 3008 }, 3009 "networkAliases": { 3010 "type": "array", 3011 "items": { 3012 "type": "string" 3013 }, 3014 "description": "Set an alias for the container in all specified networks\n", 3015 "deprecationMessage": "Use networks_advanced instead. Will be removed in v3.0.0" 3016 }, 3017 "networkDatas": { 3018 "type": "array", 3019 "items": { 3020 "$ref": "#/types/docker:index/ContainerNetworkData:ContainerNetworkData" 3021 }, 3022 "description": "The data of the networks the container is connected to.\n" 3023 }, 3024 "networkMode": { 3025 "type": "string", 3026 "description": "Network mode of the container.\n" 3027 }, 3028 "networks": { 3029 "type": "array", 3030 "items": { 3031 "type": "string" 3032 }, 3033 "description": "ID of the networks in which the container is.\n", 3034 "deprecationMessage": "Use networks_advanced instead. Will be removed in v3.0.0" 3035 }, 3036 "networksAdvanced": { 3037 "type": "array", 3038 "items": { 3039 "$ref": "#/types/docker:index/ContainerNetworksAdvanced:ContainerNetworksAdvanced" 3040 }, 3041 "description": "The networks the container is attached to\n" 3042 }, 3043 "pidMode": { 3044 "type": "string", 3045 "description": "he PID (Process) Namespace mode for the container. Either `container:<name|id>` or `host`.\n" 3046 }, 3047 "ports": { 3048 "type": "array", 3049 "items": { 3050 "$ref": "#/types/docker:index/ContainerPort:ContainerPort" 3051 }, 3052 "description": "Publish a container's port(s) to the host.\n" 3053 }, 3054 "privileged": { 3055 "type": "boolean", 3056 "description": "If `true`, the container runs in privileged mode.\n" 3057 }, 3058 "publishAllPorts": { 3059 "type": "boolean", 3060 "description": "Publish all ports of the container.\n" 3061 }, 3062 "readOnly": { 3063 "type": "boolean", 3064 "description": "If `true`, the container will be started as readonly. Defaults to `false`.\n" 3065 }, 3066 "removeVolumes": { 3067 "type": "boolean", 3068 "description": "If `true`, it will remove anonymous volumes associated with the container. Defaults to `true`.\n" 3069 }, 3070 "restart": { 3071 "type": "string", 3072 "description": "The restart policy for the container. Must be one of 'no', 'on-failure', 'always', 'unless-stopped'. Defaults to `no`.\n" 3073 }, 3074 "rm": { 3075 "type": "boolean", 3076 "description": "If `true`, then the container will be automatically removed after his execution. Terraform won't check this container\nafter creation. Defaults to `false`.\n" 3077 }, 3078 "securityOpts": { 3079 "type": "array", 3080 "items": { 3081 "type": "string" 3082 }, 3083 "description": "List of string values to customize labels for MLS systems, such as SELinux. See\nhttps://docs.docker.com/engine/reference/run/#security-configuration.\n" 3084 }, 3085 "shmSize": { 3086 "type": "integer", 3087 "description": "Size of `/dev/shm` in MBs.\n" 3088 }, 3089 "start": { 3090 "type": "boolean", 3091 "description": "If `true`, then the Docker container will be started after creation. If `false`, then the container is only created.\nDefaults to `true`.\n" 3092 }, 3093 "stdinOpen": { 3094 "type": "boolean", 3095 "description": "If `true`, keep STDIN open even if not attached (`docker run -i`). Defaults to `false`.\n" 3096 }, 3097 "storageOpts": { 3098 "type": "object", 3099 "additionalProperties": { 3100 "$ref": "pulumi.json#/Any" 3101 }, 3102 "description": "Key/value pairs for the storage driver options, e.g. `size`: `120G`\n" 3103 }, 3104 "sysctls": { 3105 "type": "object", 3106 "additionalProperties": { 3107 "$ref": "pulumi.json#/Any" 3108 }, 3109 "description": "A map of kernel parameters (sysctls) to set in the container.\n" 3110 }, 3111 "tmpfs": { 3112 "type": "object", 3113 "additionalProperties": { 3114 "$ref": "pulumi.json#/Any" 3115 }, 3116 "description": "A map of container directories which should be replaced by `tmpfs mounts`, and their corresponding mount options.\n" 3117 }, 3118 "tty": { 3119 "type": "boolean", 3120 "description": "If `true`, allocate a pseudo-tty (`docker run -t`). Defaults to `false`.\n" 3121 }, 3122 "ulimits": { 3123 "type": "array", 3124 "items": { 3125 "$ref": "#/types/docker:index/ContainerUlimit:ContainerUlimit" 3126 }, 3127 "description": "Ulimit options to add.\n" 3128 }, 3129 "uploads": { 3130 "type": "array", 3131 "items": { 3132 "$ref": "#/types/docker:index/ContainerUpload:ContainerUpload" 3133 }, 3134 "description": "Specifies files to upload to the container before starting it. Only one of `content` or `content_base64` can be set and\nat least one of them has to be set.\n" 3135 }, 3136 "user": { 3137 "type": "string", 3138 "description": "User used for run the first process. Format is `user` or `user:group` which user and group can be passed literraly or by\nname.\n" 3139 }, 3140 "usernsMode": { 3141 "type": "string", 3142 "description": "Sets the usernamespace mode for the container when usernamespace remapping option is enabled.\n" 3143 }, 3144 "volumes": { 3145 "type": "array", 3146 "items": { 3147 "$ref": "#/types/docker:index/ContainerVolume:ContainerVolume" 3148 }, 3149 "description": "Spec for mounting volumes in the container.\n" 3150 }, 3151 "workingDir": { 3152 "type": "string", 3153 "description": "The working directory for commands to run in.\n" 3154 } 3155 }, 3156 "required": [ 3157 "bridge", 3158 "command", 3159 "containerLogs", 3160 "entrypoints", 3161 "envs", 3162 "exitCode", 3163 "gateway", 3164 "healthcheck", 3165 "hostname", 3166 "image", 3167 "init", 3168 "ipAddress", 3169 "ipPrefixLength", 3170 "ipcMode", 3171 "labels", 3172 "name", 3173 "networkDatas", 3174 "securityOpts", 3175 "shmSize" 3176 ], 3177 "inputProperties": { 3178 "attach": { 3179 "type": "boolean", 3180 "description": "If `true` attach to the container after its creation and waits the end of its execution. Defaults to `false`.\n" 3181 }, 3182 "capabilities": { 3183 "$ref": "#/types/docker:index/ContainerCapabilities:ContainerCapabilities", 3184 "description": "Add or drop certrain linux capabilities.\n" 3185 }, 3186 "command": { 3187 "type": "array", 3188 "items": { 3189 "type": "string" 3190 }, 3191 "description": "The command to use to start the container. For example, to run `/usr/bin/myprogram -f baz.conf` set the command to be\n`[\"/usr/bin/myprogram\",\"-\",\"baz.con\"]`.\n" 3192 }, 3193 "cpuSet": { 3194 "type": "string", 3195 "description": "A comma-separated list or hyphen-separated range of CPUs a container can use, e.g. `0-1`.\n" 3196 }, 3197 "cpuShares": { 3198 "type": "integer", 3199 "description": "CPU shares (relative weight) for the container.\n" 3200 }, 3201 "destroyGraceSeconds": { 3202 "type": "integer", 3203 "description": "If defined will attempt to stop the container before destroying. Container will be destroyed after `n` seconds or on\nsuccessful stop.\n" 3204 }, 3205 "devices": { 3206 "type": "array", 3207 "items": { 3208 "$ref": "#/types/docker:index/ContainerDevice:ContainerDevice" 3209 }, 3210 "description": "Bind devices to the container.\n" 3211 }, 3212 "dns": { 3213 "type": "array", 3214 "items": { 3215 "type": "string" 3216 }, 3217 "description": "DNS servers to use.\n" 3218 }, 3219 "dnsOpts": { 3220 "type": "array", 3221 "items": { 3222 "type": "string" 3223 }, 3224 "description": "DNS options used by the DNS provider(s), see `resolv.conf` documentation for valid list of options.\n" 3225 }, 3226 "dnsSearches": { 3227 "type": "array", 3228 "items": { 3229 "type": "string" 3230 }, 3231 "description": "DNS search domains that are used when bare unqualified hostnames are used inside of the container.\n" 3232 }, 3233 "domainname": { 3234 "type": "string", 3235 "description": "Domain name of the container.\n" 3236 }, 3237 "entrypoints": { 3238 "type": "array", 3239 "items": { 3240 "type": "string" 3241 }, 3242 "description": "The command to use as the Entrypoint for the container. The Entrypoint allows you to configure a container to run as an\nexecutable. For example, to run `/usr/bin/myprogram` when starting a container, set the entrypoint to be\n`\"/usr/bin/myprogra\"]`.\n" 3243 }, 3244 "envs": { 3245 "type": "array", 3246 "items": { 3247 "type": "string" 3248 }, 3249 "description": "Environment variables to set in the form of `KEY=VALUE`, e.g. `DEBUG=0`\n" 3250 }, 3251 "groupAdds": { 3252 "type": "array", 3253 "items": { 3254 "type": "string" 3255 }, 3256 "description": "Additional groups for the container user\n" 3257 }, 3258 "healthcheck": { 3259 "$ref": "#/types/docker:index/ContainerHealthcheck:ContainerHealthcheck", 3260 "description": "A test to perform to check that the container is healthy\n" 3261 }, 3262 "hostname": { 3263 "type": "string", 3264 "description": "Hostname of the container.\n" 3265 }, 3266 "hosts": { 3267 "type": "array", 3268 "items": { 3269 "$ref": "#/types/docker:index/ContainerHost:ContainerHost" 3270 }, 3271 "description": "Additional hosts to add to the container.\n" 3272 }, 3273 "image": { 3274 "type": "string", 3275 "description": "The ID of the image to back this container. The easiest way to get this value is to use the `docker_image` resource as\nis shown in the example.\n" 3276 }, 3277 "init": { 3278 "type": "boolean", 3279 "description": "Configured whether an init process should be injected for this container. If unset this will default to the `dockerd`\ndefaults.\n" 3280 }, 3281 "ipcMode": { 3282 "type": "string", 3283 "description": "IPC sharing mode for the container. Possible values are: `none`, `private`, `shareable`, `container:<name|id>` or\n`host`.\n" 3284 }, 3285 "labels": { 3286 "type": "array", 3287 "items": { 3288 "$ref": "#/types/docker:index/ContainerLabel:ContainerLabel" 3289 }, 3290 "description": "User-defined key/value metadata\n" 3291 }, 3292 "links": { 3293 "type": "array", 3294 "items": { 3295 "type": "string" 3296 }, 3297 "description": "Set of links for link based connectivity between containers that are running on the same host.\n", 3298 "deprecationMessage": "The --link flag is a legacy feature of Docker. It may eventually be removed." 3299 }, 3300 "logDriver": { 3301 "type": "string", 3302 "description": "The logging driver to use for the container. Defaults to `json-file`.\n" 3303 }, 3304 "logOpts": { 3305 "type": "object", 3306 "additionalProperties": { 3307 "$ref": "pulumi.json#/Any" 3308 }, 3309 "description": "Key/value pairs to use as options for the logging driver.\n" 3310 }, 3311 "logs": { 3312 "type": "boolean", 3313 "description": "Save the container logs (`attach` must be enabled). Defaults to `false`.\n" 3314 }, 3315 "maxRetryCount": { 3316 "type": "integer", 3317 "description": "The maximum amount of times to an attempt a restart when `restart` is set to 'on-failure'.\n" 3318 }, 3319 "memory": { 3320 "type": "integer", 3321 "description": "The memory limit for the container in MBs.\n" 3322 }, 3323 "memorySwap": { 3324 "type": "integer", 3325 "description": "The total memory limit (memory + swap) for the container in MBs. This setting may compute to `-1` after `terraform\napply` if the target host doesn't support memory swap, when that is the case docker will use a soft limitation.\n" 3326 }, 3327 "mounts": { 3328 "type": "array", 3329 "items": { 3330 "$ref": "#/types/docker:index/ContainerMount:ContainerMount" 3331 }, 3332 "description": "Specification for mounts to be added to containers created as part of the service.\n" 3333 }, 3334 "mustRun": { 3335 "type": "boolean", 3336 "description": "If `true`, then the Docker container will be kept running. If `false`, then as long as the container exists, Terraform\nassumes it is successful. Defaults to `true`.\n" 3337 }, 3338 "name": { 3339 "type": "string", 3340 "description": "The name of the container.\n" 3341 }, 3342 "networkAliases": { 3343 "type": "array", 3344 "items": { 3345 "type": "string" 3346 }, 3347 "description": "Set an alias for the container in all specified networks\n", 3348 "deprecationMessage": "Use networks_advanced instead. Will be removed in v3.0.0" 3349 }, 3350 "networkMode": { 3351 "type": "string", 3352 "description": "Network mode of the container.\n" 3353 }, 3354 "networks": { 3355 "type": "array", 3356 "items": { 3357 "type": "string" 3358 }, 3359 "description": "ID of the networks in which the container is.\n", 3360 "deprecationMessage": "Use networks_advanced instead. Will be removed in v3.0.0" 3361 }, 3362 "networksAdvanced": { 3363 "type": "array", 3364 "items": { 3365 "$ref": "#/types/docker:index/ContainerNetworksAdvanced:ContainerNetworksAdvanced" 3366 }, 3367 "description": "The networks the container is attached to\n" 3368 }, 3369 "pidMode": { 3370 "type": "string", 3371 "description": "he PID (Process) Namespace mode for the container. Either `container:<name|id>` or `host`.\n" 3372 }, 3373 "ports": { 3374 "type": "array", 3375 "items": { 3376 "$ref": "#/types/docker:index/ContainerPort:ContainerPort" 3377 }, 3378 "description": "Publish a container's port(s) to the host.\n" 3379 }, 3380 "privileged": { 3381 "type": "boolean", 3382 "description": "If `true`, the container runs in privileged mode.\n" 3383 }, 3384 "publishAllPorts": { 3385 "type": "boolean", 3386 "description": "Publish all ports of the container.\n" 3387 }, 3388 "readOnly": { 3389 "type": "boolean", 3390 "description": "If `true`, the container will be started as readonly. Defaults to `false`.\n" 3391 }, 3392 "removeVolumes": { 3393 "type": "boolean", 3394 "description": "If `true`, it will remove anonymous volumes associated with the container. Defaults to `true`.\n" 3395 }, 3396 "restart": { 3397 "type": "string", 3398 "description": "The restart policy for the container. Must be one of 'no', 'on-failure', 'always', 'unless-stopped'. Defaults to `no`.\n" 3399 }, 3400 "rm": { 3401 "type": "boolean", 3402 "description": "If `true`, then the container will be automatically removed after his execution. Terraform won't check this container\nafter creation. Defaults to `false`.\n" 3403 }, 3404 "securityOpts": { 3405 "type": "array", 3406 "items": { 3407 "type": "string" 3408 }, 3409 "description": "List of string values to customize labels for MLS systems, such as SELinux. See\nhttps://docs.docker.com/engine/reference/run/#security-configuration.\n" 3410 }, 3411 "shmSize": { 3412 "type": "integer", 3413 "description": "Size of `/dev/shm` in MBs.\n" 3414 }, 3415 "start": { 3416 "type": "boolean", 3417 "description": "If `true`, then the Docker container will be started after creation. If `false`, then the container is only created.\nDefaults to `true`.\n" 3418 }, 3419 "stdinOpen": { 3420 "type": "boolean", 3421 "description": "If `true`, keep STDIN open even if not attached (`docker run -i`). Defaults to `false`.\n" 3422 }, 3423 "storageOpts": { 3424 "type": "object", 3425 "additionalProperties": { 3426 "$ref": "pulumi.json#/Any" 3427 }, 3428 "description": "Key/value pairs for the storage driver options, e.g. `size`: `120G`\n" 3429 }, 3430 "sysctls": { 3431 "type": "object", 3432 "additionalProperties": { 3433 "$ref": "pulumi.json#/Any" 3434 }, 3435 "description": "A map of kernel parameters (sysctls) to set in the container.\n" 3436 }, 3437 "tmpfs": { 3438 "type": "object", 3439 "additionalProperties": { 3440 "$ref": "pulumi.json#/Any" 3441 }, 3442 "description": "A map of container directories which should be replaced by `tmpfs mounts`, and their corresponding mount options.\n" 3443 }, 3444 "tty": { 3445 "type": "boolean", 3446 "description": "If `true`, allocate a pseudo-tty (`docker run -t`). Defaults to `false`.\n" 3447 }, 3448 "ulimits": { 3449 "type": "array", 3450 "items": { 3451 "$ref": "#/types/docker:index/ContainerUlimit:ContainerUlimit" 3452 }, 3453 "description": "Ulimit options to add.\n" 3454 }, 3455 "uploads": { 3456 "type": "array", 3457 "items": { 3458 "$ref": "#/types/docker:index/ContainerUpload:ContainerUpload" 3459 }, 3460 "description": "Specifies files to upload to the container before starting it. Only one of `content` or `content_base64` can be set and\nat least one of them has to be set.\n" 3461 }, 3462 "user": { 3463 "type": "string", 3464 "description": "User used for run the first process. Format is `user` or `user:group` which user and group can be passed literraly or by\nname.\n" 3465 }, 3466 "usernsMode": { 3467 "type": "string", 3468 "description": "Sets the usernamespace mode for the container when usernamespace remapping option is enabled.\n" 3469 }, 3470 "volumes": { 3471 "type": "array", 3472 "items": { 3473 "$ref": "#/types/docker:index/ContainerVolume:ContainerVolume" 3474 }, 3475 "description": "Spec for mounting volumes in the container.\n" 3476 }, 3477 "workingDir": { 3478 "type": "string", 3479 "description": "The working directory for commands to run in.\n" 3480 } 3481 }, 3482 "requiredInputs": [ 3483 "image" 3484 ], 3485 "stateInputs": { 3486 "description": "Input properties used for looking up and filtering Container resources.\n", 3487 "properties": { 3488 "attach": { 3489 "type": "boolean", 3490 "description": "If `true` attach to the container after its creation and waits the end of its execution. Defaults to `false`.\n" 3491 }, 3492 "bridge": { 3493 "type": "string", 3494 "description": "The network bridge of the container as read from its NetworkSettings.\n" 3495 }, 3496 "capabilities": { 3497 "$ref": "#/types/docker:index/ContainerCapabilities:ContainerCapabilities", 3498 "description": "Add or drop certrain linux capabilities.\n" 3499 }, 3500 "command": { 3501 "type": "array", 3502 "items": { 3503 "type": "string" 3504 }, 3505 "description": "The command to use to start the container. For example, to run `/usr/bin/myprogram -f baz.conf` set the command to be\n`[\"/usr/bin/myprogram\",\"-\",\"baz.con\"]`.\n" 3506 }, 3507 "containerLogs": { 3508 "type": "string", 3509 "description": "The logs of the container if its execution is done (`attach` must be disabled).\n" 3510 }, 3511 "cpuSet": { 3512 "type": "string", 3513 "description": "A comma-separated list or hyphen-separated range of CPUs a container can use, e.g. `0-1`.\n" 3514 }, 3515 "cpuShares": { 3516 "type": "integer", 3517 "description": "CPU shares (relative weight) for the container.\n" 3518 }, 3519 "destroyGraceSeconds": { 3520 "type": "integer", 3521 "description": "If defined will attempt to stop the container before destroying. Container will be destroyed after `n` seconds or on\nsuccessful stop.\n" 3522 }, 3523 "devices": { 3524 "type": "array", 3525 "items": { 3526 "$ref": "#/types/docker:index/ContainerDevice:ContainerDevice" 3527 }, 3528 "description": "Bind devices to the container.\n" 3529 }, 3530 "dns": { 3531 "type": "array", 3532 "items": { 3533 "type": "string" 3534 }, 3535 "description": "DNS servers to use.\n" 3536 }, 3537 "dnsOpts": { 3538 "type": "array", 3539 "items": { 3540 "type": "string" 3541 }, 3542 "description": "DNS options used by the DNS provider(s), see `resolv.conf` documentation for valid list of options.\n" 3543 }, 3544 "dnsSearches": { 3545 "type": "array", 3546 "items": { 3547 "type": "string" 3548 }, 3549 "description": "DNS search domains that are used when bare unqualified hostnames are used inside of the container.\n" 3550 }, 3551 "domainname": { 3552 "type": "string", 3553 "description": "Domain name of the container.\n" 3554 }, 3555 "entrypoints": { 3556 "type": "array", 3557 "items": { 3558 "type": "string" 3559 }, 3560 "description": "The command to use as the Entrypoint for the container. The Entrypoint allows you to configure a container to run as an\nexecutable. For example, to run `/usr/bin/myprogram` when starting a container, set the entrypoint to be\n`\"/usr/bin/myprogra\"]`.\n" 3561 }, 3562 "envs": { 3563 "type": "array", 3564 "items": { 3565 "type": "string" 3566 }, 3567 "description": "Environment variables to set in the form of `KEY=VALUE`, e.g. `DEBUG=0`\n" 3568 }, 3569 "exitCode": { 3570 "type": "integer", 3571 "description": "The exit code of the container if its execution is done (`must_run` must be disabled).\n" 3572 }, 3573 "gateway": { 3574 "type": "string", 3575 "description": "The network gateway of the container.\n", 3576 "deprecationMessage": "Use `network_data` instead. The network gateway of the container as read from its NetworkSettings." 3577 }, 3578 "groupAdds": { 3579 "type": "array", 3580 "items": { 3581 "type": "string" 3582 }, 3583 "description": "Additional groups for the container user\n" 3584 }, 3585 "healthcheck": { 3586 "$ref": "#/types/docker:index/ContainerHealthcheck:ContainerHealthcheck", 3587 "description": "A test to perform to check that the container is healthy\n" 3588 }, 3589 "hostname": { 3590 "type": "string", 3591 "description": "Hostname of the container.\n" 3592 }, 3593 "hosts": { 3594 "type": "array", 3595 "items": { 3596 "$ref": "#/types/docker:index/ContainerHost:ContainerHost" 3597 }, 3598 "description": "Additional hosts to add to the container.\n" 3599 }, 3600 "image": { 3601 "type": "string", 3602 "description": "The ID of the image to back this container. The easiest way to get this value is to use the `docker_image` resource as\nis shown in the example.\n" 3603 }, 3604 "init": { 3605 "type": "boolean", 3606 "description": "Configured whether an init process should be injected for this container. If unset this will default to the `dockerd`\ndefaults.\n" 3607 }, 3608 "ipAddress": { 3609 "type": "string", 3610 "description": "The IP address of the container.\n", 3611 "deprecationMessage": "Use `network_data` instead. The IP address of the container's first network it." 3612 }, 3613 "ipPrefixLength": { 3614 "type": "integer", 3615 "description": "The IP prefix length of the container.\n", 3616 "deprecationMessage": "Use `network_data` instead. The IP prefix length of the container as read from its NetworkSettings." 3617 }, 3618 "ipcMode": { 3619 "type": "string", 3620 "description": "IPC sharing mode for the container. Possible values are: `none`, `private`, `shareable`, `container:<name|id>` or\n`host`.\n" 3621 }, 3622 "labels": { 3623 "type": "array", 3624 "items": { 3625 "$ref": "#/types/docker:index/ContainerLabel:ContainerLabel" 3626 }, 3627 "description": "User-defined key/value metadata\n" 3628 }, 3629 "links": { 3630 "type": "array", 3631 "items": { 3632 "type": "string" 3633 }, 3634 "description": "Set of links for link based connectivity between containers that are running on the same host.\n", 3635 "deprecationMessage": "The --link flag is a legacy feature of Docker. It may eventually be removed." 3636 }, 3637 "logDriver": { 3638 "type": "string", 3639 "description": "The logging driver to use for the container. Defaults to `json-file`.\n" 3640 }, 3641 "logOpts": { 3642 "type": "object", 3643 "additionalProperties": { 3644 "$ref": "pulumi.json#/Any" 3645 }, 3646 "description": "Key/value pairs to use as options for the logging driver.\n" 3647 }, 3648 "logs": { 3649 "type": "boolean", 3650 "description": "Save the container logs (`attach` must be enabled). Defaults to `false`.\n" 3651 }, 3652 "maxRetryCount": { 3653 "type": "integer", 3654 "description": "The maximum amount of times to an attempt a restart when `restart` is set to 'on-failure'.\n" 3655 }, 3656 "memory": { 3657 "type": "integer", 3658 "description": "The memory limit for the container in MBs.\n" 3659 }, 3660 "memorySwap": { 3661 "type": "integer", 3662 "description": "The total memory limit (memory + swap) for the container in MBs. This setting may compute to `-1` after `terraform\napply` if the target host doesn't support memory swap, when that is the case docker will use a soft limitation.\n" 3663 }, 3664 "mounts": { 3665 "type": "array", 3666 "items": { 3667 "$ref": "#/types/docker:index/ContainerMount:ContainerMount" 3668 }, 3669 "description": "Specification for mounts to be added to containers created as part of the service.\n" 3670 }, 3671 "mustRun": { 3672 "type": "boolean", 3673 "description": "If `true`, then the Docker container will be kept running. If `false`, then as long as the container exists, Terraform\nassumes it is successful. Defaults to `true`.\n" 3674 }, 3675 "name": { 3676 "type": "string", 3677 "description": "The name of the container.\n" 3678 }, 3679 "networkAliases": { 3680 "type": "array", 3681 "items": { 3682 "type": "string" 3683 }, 3684 "description": "Set an alias for the container in all specified networks\n", 3685 "deprecationMessage": "Use networks_advanced instead. Will be removed in v3.0.0" 3686 }, 3687 "networkDatas": { 3688 "type": "array", 3689 "items": { 3690 "$ref": "#/types/docker:index/ContainerNetworkData:ContainerNetworkData" 3691 }, 3692 "description": "The data of the networks the container is connected to.\n" 3693 }, 3694 "networkMode": { 3695 "type": "string", 3696 "description": "Network mode of the container.\n" 3697 }, 3698 "networks": { 3699 "type": "array", 3700 "items": { 3701 "type": "string" 3702 }, 3703 "description": "ID of the networks in which the container is.\n", 3704 "deprecationMessage": "Use networks_advanced instead. Will be removed in v3.0.0" 3705 }, 3706 "networksAdvanced": { 3707 "type": "array", 3708 "items": { 3709 "$ref": "#/types/docker:index/ContainerNetworksAdvanced:ContainerNetworksAdvanced" 3710 }, 3711 "description": "The networks the container is attached to\n" 3712 }, 3713 "pidMode": { 3714 "type": "string", 3715 "description": "he PID (Process) Namespace mode for the container. Either `container:<name|id>` or `host`.\n" 3716 }, 3717 "ports": { 3718 "type": "array", 3719 "items": { 3720 "$ref": "#/types/docker:index/ContainerPort:ContainerPort" 3721 }, 3722 "description": "Publish a container's port(s) to the host.\n" 3723 }, 3724 "privileged": { 3725 "type": "boolean", 3726 "description": "If `true`, the container runs in privileged mode.\n" 3727 }, 3728 "publishAllPorts": { 3729 "type": "boolean", 3730 "description": "Publish all ports of the container.\n" 3731 }, 3732 "readOnly": { 3733 "type": "boolean", 3734 "description": "If `true`, the container will be started as readonly. Defaults to `false`.\n" 3735 }, 3736 "removeVolumes": { 3737 "type": "boolean", 3738 "description": "If `true`, it will remove anonymous volumes associated with the container. Defaults to `true`.\n" 3739 }, 3740 "restart": { 3741 "type": "string", 3742 "description": "The restart policy for the container. Must be one of 'no', 'on-failure', 'always', 'unless-stopped'. Defaults to `no`.\n" 3743 }, 3744 "rm": { 3745 "type": "boolean", 3746 "description": "If `true`, then the container will be automatically removed after his execution. Terraform won't check this container\nafter creation. Defaults to `false`.\n" 3747 }, 3748 "securityOpts": { 3749 "type": "array", 3750 "items": { 3751 "type": "string" 3752 }, 3753 "description": "List of string values to customize labels for MLS systems, such as SELinux. See\nhttps://docs.docker.com/engine/reference/run/#security-configuration.\n" 3754 }, 3755 "shmSize": { 3756 "type": "integer", 3757 "description": "Size of `/dev/shm` in MBs.\n" 3758 }, 3759 "start": { 3760 "type": "boolean", 3761 "description": "If `true`, then the Docker container will be started after creation. If `false`, then the container is only created.\nDefaults to `true`.\n" 3762 }, 3763 "stdinOpen": { 3764 "type": "boolean", 3765 "description": "If `true`, keep STDIN open even if not attached (`docker run -i`). Defaults to `false`.\n" 3766 }, 3767 "storageOpts": { 3768 "type": "object", 3769 "additionalProperties": { 3770 "$ref": "pulumi.json#/Any" 3771 }, 3772 "description": "Key/value pairs for the storage driver options, e.g. `size`: `120G`\n" 3773 }, 3774 "sysctls": { 3775 "type": "object", 3776 "additionalProperties": { 3777 "$ref": "pulumi.json#/Any" 3778 }, 3779 "description": "A map of kernel parameters (sysctls) to set in the container.\n" 3780 }, 3781 "tmpfs": { 3782 "type": "object", 3783 "additionalProperties": { 3784 "$ref": "pulumi.json#/Any" 3785 }, 3786 "description": "A map of container directories which should be replaced by `tmpfs mounts`, and their corresponding mount options.\n" 3787 }, 3788 "tty": { 3789 "type": "boolean", 3790 "description": "If `true`, allocate a pseudo-tty (`docker run -t`). Defaults to `false`.\n" 3791 }, 3792 "ulimits": { 3793 "type": "array", 3794 "items": { 3795 "$ref": "#/types/docker:index/ContainerUlimit:ContainerUlimit" 3796 }, 3797 "description": "Ulimit options to add.\n" 3798 }, 3799 "uploads": { 3800 "type": "array", 3801 "items": { 3802 "$ref": "#/types/docker:index/ContainerUpload:ContainerUpload" 3803 }, 3804 "description": "Specifies files to upload to the container before starting it. Only one of `content` or `content_base64` can be set and\nat least one of them has to be set.\n" 3805 }, 3806 "user": { 3807 "type": "string", 3808 "description": "User used for run the first process. Format is `user` or `user:group` which user and group can be passed literraly or by\nname.\n" 3809 }, 3810 "usernsMode": { 3811 "type": "string", 3812 "description": "Sets the usernamespace mode for the container when usernamespace remapping option is enabled.\n" 3813 }, 3814 "volumes": { 3815 "type": "array", 3816 "items": { 3817 "$ref": "#/types/docker:index/ContainerVolume:ContainerVolume" 3818 }, 3819 "description": "Spec for mounting volumes in the container.\n" 3820 }, 3821 "workingDir": { 3822 "type": "string", 3823 "description": "The working directory for commands to run in.\n" 3824 } 3825 }, 3826 "type": "object" 3827 } 3828 }, 3829 "docker:index/network:Network": { 3830 "description": "<!-- Bug: Type and Name are switched -->\n`docker.Network` provides details about a specific Docker Network.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as docker from \"@pulumi/docker\";\n\nconst privateNetwork = new docker.Network(\"private_network\", {});\n```\n```python\nimport pulumi\nimport pulumi_docker as docker\n\nprivate_network = docker.Network(\"privateNetwork\")\n```\n```csharp\nusing Pulumi;\nusing Docker = Pulumi.Docker;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var privateNetwork = new Docker.Network(\"privateNetwork\", new Docker.NetworkArgs\n {\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-docker/sdk/v3/go/docker\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := docker.NewNetwork(ctx, \"privateNetwork\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n\n<!-- schema generated by tfplugindocs -->\n{{% /example %}}\n{{% /examples %}}\n## Schema\n\n### Required\n\n- **name** (String) The name of the Docker network.\n\n### Optional\n\n- **attachable** (Boolean) Enable manual container attachment to the network.\n- **check_duplicate** (Boolean) Requests daemon to check for networks with same name.\n- **driver** (String) The driver of the Docker network. Possible values are `bridge`, `host`, `overlay`, `macvlan`. See [network docs](https://docs.docker.com/network/#network-drivers) for more details.\n- **id** (String) The ID of this resource.\n- **ingress** (Boolean) Create swarm routing-mesh network. Defaults to `false`.\n- **internal** (Boolean) Whether the network is internal.\n- **ipam_config** (Block Set) The IPAM configuration options (see below for nested schema)\n- **ipam_driver** (String) Driver used by the custom IP scheme of the network. Defaults to `default`\n- **ipv6** (Boolean) Enable IPv6 networking. Defaults to `false`.\n- **labels** (Block Set) User-defined key/value metadata (see below for nested schema)\n- **options** (Map of String) Only available with bridge networks. See [bridge options docs](https://docs.docker.com/engine/reference/commandline/network_create/#bridge-driver-options) for more details.\n\n### Read-Only\n\n- **scope** (String) Scope of the network. One of `swarm`, `global`, or `local`.\n\n<a id=\"nestedblock--ipam_config\"></a>\n### Nested Schema for `ipam_config`\n\nOptional:\n\n- **aux_address** (Map of String) Auxiliary IPv4 or IPv6 addresses used by Network driver\n- **gateway** (String) The IP address of the gateway\n- **ip_range** (String) The ip range in CIDR form\n- **subnet** (String) The subnet in CIDR form\n\n\n<a id=\"nestedblock--labels\"></a>\n### Nested Schema for `labels`\n\nRequired:\n\n- **label** (String) Name of the label\n- **value** (String) Value of the label\n\n\n## Import\n\n### Example Assuming you created a `network` as follows #!/bin/bash docker network create foo # prints the long ID 87b57a9b91ecab2db2a6dbf38df74c67d7c7108cbe479d6576574ec2cd8c2d73 you provide the definition for the resource as follows terraform resource \"docker_network\" \"foo\" {\n\n name = \"foo\" } then the import command is as follows #!/bin/bash\n\n```sh\n $ pulumi import docker:index/network:Network foo 87b57a9b91ecab2db2a6dbf38df74c67d7c7108cbe479d6576574ec2cd8c2d73\n```\n\n ", 3831 "properties": { 3832 "attachable": { 3833 "type": "boolean", 3834 "description": "Enable manual container attachment to the network.\n" 3835 }, 3836 "checkDuplicate": { 3837 "type": "boolean", 3838 "description": "Requests daemon to check for networks with same name.\n" 3839 }, 3840 "driver": { 3841 "type": "string", 3842 "description": "The driver of the Docker network. Possible values are `bridge`, `host`, `overlay`, `macvlan`. See [network\ndocs](https://docs.docker.com/network/#network-drivers) for more details.\n" 3843 }, 3844 "ingress": { 3845 "type": "boolean", 3846 "description": "Create swarm routing-mesh network. Defaults to `false`.\n" 3847 }, 3848 "internal": { 3849 "type": "boolean", 3850 "description": "Whether the network is internal.\n" 3851 }, 3852 "ipamConfigs": { 3853 "type": "array", 3854 "items": { 3855 "$ref": "#/types/docker:index/NetworkIpamConfig:NetworkIpamConfig" 3856 }, 3857 "description": "The IPAM configuration options\n" 3858 }, 3859 "ipamDriver": { 3860 "type": "string", 3861 "description": "Driver used by the custom IP scheme of the network. Defaults to `default`\n" 3862 }, 3863 "ipv6": { 3864 "type": "boolean", 3865 "description": "Enable IPv6 networking. Defaults to `false`.\n" 3866 }, 3867 "labels": { 3868 "type": "array", 3869 "items": { 3870 "$ref": "#/types/docker:index/NetworkLabel:NetworkLabel" 3871 }, 3872 "description": "User-defined key/value metadata\n" 3873 }, 3874 "name": { 3875 "type": "string", 3876 "description": "The name of the Docker network.\n" 3877 }, 3878 "options": { 3879 "type": "object", 3880 "additionalProperties": { 3881 "$ref": "pulumi.json#/Any" 3882 }, 3883 "description": "Only available with bridge networks. See [bridge options\ndocs](https://docs.docker.com/engine/reference/commandline/network_create/#bridge-driver-options) for more details.\n" 3884 }, 3885 "scope": { 3886 "type": "string", 3887 "description": "Scope of the network. One of `swarm`, `global`, or `local`.\n" 3888 } 3889 }, 3890 "required": [ 3891 "driver", 3892 "internal", 3893 "ipamConfigs", 3894 "name", 3895 "options", 3896 "scope" 3897 ], 3898 "inputProperties": { 3899 "attachable": { 3900 "type": "boolean", 3901 "description": "Enable manual container attachment to the network.\n" 3902 }, 3903 "checkDuplicate": { 3904 "type": "boolean", 3905 "description": "Requests daemon to check for networks with same name.\n" 3906 }, 3907 "driver": { 3908 "type": "string", 3909 "description": "The driver of the Docker network. Possible values are `bridge`, `host`, `overlay`, `macvlan`. See [network\ndocs](https://docs.docker.com/network/#network-drivers) for more details.\n" 3910 }, 3911 "ingress": { 3912 "type": "boolean", 3913 "description": "Create swarm routing-mesh network. Defaults to `false`.\n" 3914 }, 3915 "internal": { 3916 "type": "boolean", 3917 "description": "Whether the network is internal.\n" 3918 }, 3919 "ipamConfigs": { 3920 "type": "array", 3921 "items": { 3922 "$ref": "#/types/docker:index/NetworkIpamConfig:NetworkIpamConfig" 3923 }, 3924 "description": "The IPAM configuration options\n" 3925 }, 3926 "ipamDriver": { 3927 "type": "string", 3928 "description": "Driver used by the custom IP scheme of the network. Defaults to `default`\n" 3929 }, 3930 "ipv6": { 3931 "type": "boolean", 3932 "description": "Enable IPv6 networking. Defaults to `false`.\n" 3933 }, 3934 "labels": { 3935 "type": "array", 3936 "items": { 3937 "$ref": "#/types/docker:index/NetworkLabel:NetworkLabel" 3938 }, 3939 "description": "User-defined key/value metadata\n" 3940 }, 3941 "name": { 3942 "type": "string", 3943 "description": "The name of the Docker network.\n" 3944 }, 3945 "options": { 3946 "type": "object", 3947 "additionalProperties": { 3948 "$ref": "pulumi.json#/Any" 3949 }, 3950 "description": "Only available with bridge networks. See [bridge options\ndocs](https://docs.docker.com/engine/reference/commandline/network_create/#bridge-driver-options) for more details.\n" 3951 } 3952 }, 3953 "stateInputs": { 3954 "description": "Input properties used for looking up and filtering Network resources.\n", 3955 "properties": { 3956 "attachable": { 3957 "type": "boolean", 3958 "description": "Enable manual container attachment to the network.\n" 3959 }, 3960 "checkDuplicate": { 3961 "type": "boolean", 3962 "description": "Requests daemon to check for networks with same name.\n" 3963 }, 3964 "driver": { 3965 "type": "string", 3966 "description": "The driver of the Docker network. Possible values are `bridge`, `host`, `overlay`, `macvlan`. See [network\ndocs](https://docs.docker.com/network/#network-drivers) for more details.\n" 3967 }, 3968 "ingress": { 3969 "type": "boolean", 3970 "description": "Create swarm routing-mesh network. Defaults to `false`.\n" 3971 }, 3972 "internal": { 3973 "type": "boolean", 3974 "description": "Whether the network is internal.\n" 3975 }, 3976 "ipamConfigs": { 3977 "type": "array", 3978 "items": { 3979 "$ref": "#/types/docker:index/NetworkIpamConfig:NetworkIpamConfig" 3980 }, 3981 "description": "The IPAM configuration options\n" 3982 }, 3983 "ipamDriver": { 3984 "type": "string", 3985 "description": "Driver used by the custom IP scheme of the network. Defaults to `default`\n" 3986 }, 3987 "ipv6": { 3988 "type": "boolean", 3989 "description": "Enable IPv6 networking. Defaults to `false`.\n" 3990 }, 3991 "labels": { 3992 "type": "array", 3993 "items": { 3994 "$ref": "#/types/docker:index/NetworkLabel:NetworkLabel" 3995 }, 3996 "description": "User-defined key/value metadata\n" 3997 }, 3998 "name": { 3999 "type": "string", 4000 "description": "The name of the Docker network.\n" 4001 }, 4002 "options": { 4003 "type": "object", 4004 "additionalProperties": { 4005 "$ref": "pulumi.json#/Any" 4006 }, 4007 "description": "Only available with bridge networks. See [bridge options\ndocs](https://docs.docker.com/engine/reference/commandline/network_create/#bridge-driver-options) for more details.\n" 4008 }, 4009 "scope": { 4010 "type": "string", 4011 "description": "Scope of the network. One of `swarm`, `global`, or `local`.\n" 4012 } 4013 }, 4014 "type": "object" 4015 } 4016 }, 4017 "docker:index/plugin:Plugin": { 4018 "description": "<!-- Bug: Type and Name are switched -->\nManages the lifecycle of a Docker plugin.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as docker from \"@pulumi/docker\";\n\nconst sample_volume_plugin = new docker.Plugin(\"sample-volume-plugin\", {\n alias: \"sample-volume-plugin\",\n enableTimeout: 60,\n enabled: false,\n envs: [\"DEBUG=1\"],\n forceDestroy: true,\n forceDisable: true,\n grantAllPermissions: true,\n});\n```\n```python\nimport pulumi\nimport pulumi_docker as docker\n\nsample_volume_plugin = docker.Plugin(\"sample-volume-plugin\",\n alias=\"sample-volume-plugin\",\n enable_timeout=60,\n enabled=False,\n envs=[\"DEBUG=1\"],\n force_destroy=True,\n force_disable=True,\n grant_all_permissions=True)\n```\n```csharp\nusing Pulumi;\nusing Docker = Pulumi.Docker;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var sample_volume_plugin = new Docker.Plugin(\"sample-volume-plugin\", new Docker.PluginArgs\n {\n Alias = \"sample-volume-plugin\",\n EnableTimeout = 60,\n Enabled = false,\n Envs = \n {\n \"DEBUG=1\",\n },\n ForceDestroy = true,\n ForceDisable = true,\n GrantAllPermissions = true,\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-docker/sdk/v3/go/docker\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := docker.NewPlugin(ctx, \"sample_volume_plugin\", &docker.PluginArgs{\n\t\t\tAlias: pulumi.String(\"sample-volume-plugin\"),\n\t\t\tEnableTimeout: pulumi.Int(60),\n\t\t\tEnabled: pulumi.Bool(false),\n\t\t\tEnvs: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"DEBUG=1\"),\n\t\t\t},\n\t\t\tForceDestroy: pulumi.Bool(true),\n\t\t\tForceDisable: pulumi.Bool(true),\n\t\t\tGrantAllPermissions: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n\n<!-- schema generated by tfplugindocs -->\n{{% /example %}}\n{{% /examples %}}\n## Schema\n\n### Required\n\n- **name** (String) Docker Plugin name\n\n### Optional\n\n- **alias** (String) Docker Plugin alias\n- **enable_timeout** (Number) HTTP client timeout to enable the plugin\n- **enabled** (Boolean) If `true` the plugin is enabled. Defaults to `true`\n- **env** (Set of String) The environment variables in the form of `KEY=VALUE`, e.g. `DEBUG=0`\n- **force_destroy** (Boolean) If true, then the plugin is destroyed forcibly\n- **force_disable** (Boolean) If true, then the plugin is disabled forcibly\n- **grant_all_permissions** (Boolean) If true, grant all permissions necessary to run the plugin\n- **grant_permissions** (Block Set) Grant specific permissions only (see below for nested schema)\n- **id** (String) The ID of this resource.\n\n### Read-Only\n\n- **plugin_reference** (String) Docker Plugin Reference\n\n<a id=\"nestedblock--grant_permissions\"></a>\n### Nested Schema for `grant_permissions`\n\nRequired:\n\n- **name** (String) The name of the permission\n- **value** (Set of String) The value of the permission\n\n\n## Import\n\nImport is supported using the following syntax#!/bin/bash\n\n```sh\n $ pulumi import docker:index/plugin:Plugin sample-volume-plugin \"$(docker plugin inspect -f {{.ID}} tiborvass/sample-volume-plugin:latest)\"\n```\n\n ", 4019 "properties": { 4020 "alias": { 4021 "type": "string", 4022 "description": "Docker Plugin alias\n" 4023 }, 4024 "enableTimeout": { 4025 "type": "integer", 4026 "description": "HTTP client timeout to enable the plugin\n" 4027 }, 4028 "enabled": { 4029 "type": "boolean", 4030 "description": "If `true` the plugin is enabled. Defaults to `true`\n" 4031 }, 4032 "envs": { 4033 "type": "array", 4034 "items": { 4035 "type": "string" 4036 }, 4037 "description": "The environment variables in the form of `KEY=VALUE`, e.g. `DEBUG=0`\n" 4038 }, 4039 "forceDestroy": { 4040 "type": "boolean", 4041 "description": "If true, then the plugin is destroyed forcibly\n" 4042 }, 4043 "forceDisable": { 4044 "type": "boolean", 4045 "description": "If true, then the plugin is disabled forcibly\n" 4046 }, 4047 "grantAllPermissions": { 4048 "type": "boolean", 4049 "description": "If true, grant all permissions necessary to run the plugin\n" 4050 }, 4051 "grantPermissions": { 4052 "type": "array", 4053 "items": { 4054 "$ref": "#/types/docker:index/PluginGrantPermission:PluginGrantPermission" 4055 }, 4056 "description": "Grant specific permissions only\n" 4057 }, 4058 "name": { 4059 "type": "string", 4060 "description": "Docker Plugin name\n" 4061 }, 4062 "pluginReference": { 4063 "type": "string", 4064 "description": "Docker Plugin Reference\n" 4065 } 4066 }, 4067 "required": [ 4068 "alias", 4069 "envs", 4070 "name", 4071 "pluginReference" 4072 ], 4073 "inputProperties": { 4074 "alias": { 4075 "type": "string", 4076 "description": "Docker Plugin alias\n" 4077 }, 4078 "enableTimeout": { 4079 "type": "integer", 4080 "description": "HTTP client timeout to enable the plugin\n" 4081 }, 4082 "enabled": { 4083 "type": "boolean", 4084 "description": "If `true` the plugin is enabled. Defaults to `true`\n" 4085 }, 4086 "envs": { 4087 "type": "array", 4088 "items": { 4089 "type": "string" 4090 }, 4091 "description": "The environment variables in the form of `KEY=VALUE`, e.g. `DEBUG=0`\n" 4092 }, 4093 "forceDestroy": { 4094 "type": "boolean", 4095 "description": "If true, then the plugin is destroyed forcibly\n" 4096 }, 4097 "forceDisable": { 4098 "type": "boolean", 4099 "description": "If true, then the plugin is disabled forcibly\n" 4100 }, 4101 "grantAllPermissions": { 4102 "type": "boolean", 4103 "description": "If true, grant all permissions necessary to run the plugin\n" 4104 }, 4105 "grantPermissions": { 4106 "type": "array", 4107 "items": { 4108 "$ref": "#/types/docker:index/PluginGrantPermission:PluginGrantPermission" 4109 }, 4110 "description": "Grant specific permissions only\n" 4111 }, 4112 "name": { 4113 "type": "string", 4114 "description": "Docker Plugin name\n" 4115 } 4116 }, 4117 "stateInputs": { 4118 "description": "Input properties used for looking up and filtering Plugin resources.\n", 4119 "properties": { 4120 "alias": { 4121 "type": "string", 4122 "description": "Docker Plugin alias\n" 4123 }, 4124 "enableTimeout": { 4125 "type": "integer", 4126 "description": "HTTP client timeout to enable the plugin\n" 4127 }, 4128 "enabled": { 4129 "type": "boolean", 4130 "description": "If `true` the plugin is enabled. Defaults to `true`\n" 4131 }, 4132 "envs": { 4133 "type": "array", 4134 "items": { 4135 "type": "string" 4136 }, 4137 "description": "The environment variables in the form of `KEY=VALUE`, e.g. `DEBUG=0`\n" 4138 }, 4139 "forceDestroy": { 4140 "type": "boolean", 4141 "description": "If true, then the plugin is destroyed forcibly\n" 4142 }, 4143 "forceDisable": { 4144 "type": "boolean", 4145 "description": "If true, then the plugin is disabled forcibly\n" 4146 }, 4147 "grantAllPermissions": { 4148 "type": "boolean", 4149 "description": "If true, grant all permissions necessary to run the plugin\n" 4150 }, 4151 "grantPermissions": { 4152 "type": "array", 4153 "items": { 4154 "$ref": "#/types/docker:index/PluginGrantPermission:PluginGrantPermission" 4155 }, 4156 "description": "Grant specific permissions only\n" 4157 }, 4158 "name": { 4159 "type": "string", 4160 "description": "Docker Plugin name\n" 4161 }, 4162 "pluginReference": { 4163 "type": "string", 4164 "description": "Docker Plugin Reference\n" 4165 } 4166 }, 4167 "type": "object" 4168 } 4169 }, 4170 "docker:index/registryImage:RegistryImage": { 4171 "description": "<!-- Bug: Type and Name are switched -->\nManages the lifecycle of docker image/tag in a registry.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as docker from \"@pulumi/docker\";\nimport * as process from \"process\";\n\nconst helloworld = new docker.RegistryImage(\"helloworld\", {\n build: {\n context: `${process.cwd()}/absolutePathToContextFolder`,\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_docker as docker\n\nhelloworld = docker.RegistryImage(\"helloworld\", build=docker.RegistryImageBuildArgs(\n context=f\"{path['cwd']}/absolutePathToContextFolder\",\n))\n```\n```csharp\nusing Pulumi;\nusing Docker = Pulumi.Docker;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var helloworld = new Docker.RegistryImage(\"helloworld\", new Docker.RegistryImageArgs\n {\n Build = new Docker.Inputs.RegistryImageBuildArgs\n {\n Context = $\"{path.Cwd}/absolutePathToContextFolder\",\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi-docker/sdk/v3/go/docker\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := docker.NewRegistryImage(ctx, \"helloworld\", &docker.RegistryImageArgs{\n\t\t\tBuild: &docker.RegistryImageBuildArgs{\n\t\t\t\tContext: pulumi.String(fmt.Sprintf(\"%v%v\", path.Cwd, \"/absolutePathToContextFolder\")),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n\n<!-- schema generated by tfplugindocs -->\n{{% /example %}}\n{{% /examples %}}\n## Schema\n\n### Required\n\n- **name** (String) The name of the Docker image.\n\n### Optional\n\n- **build** (Block List, Max: 1) Definition for building the image (see below for nested schema)\n- **id** (String) The ID of this resource.\n- **insecure_skip_verify** (Boolean) If `true`, the verification of TLS certificates of the server/registry is disabled. Defaults to `false`\n- **keep_remotely** (Boolean) If true, then the Docker image won't be deleted on destroy operation. If this is false, it will delete the image from the docker registry on destroy operation. Defaults to `false`\n\n### Read-Only\n\n- **sha256_digest** (String) The sha256 digest of the image.\n\n<a id=\"nestedblock--build\"></a>\n### Nested Schema for `build`\n\nRequired:\n\n- **context** (String) The absolute path to the context folder. You can use the helper function '${path.cwd}/context-dir'.\n\nOptional:\n\n- **auth_config** (Block List) The configuration for the authentication (see below for nested schema)\n- **build_args** (Map of String) Pairs for build-time variables in the form TODO\n- **build_id** (String) BuildID is an optional identifier that can be passed together with the build request. The\n- **cache_from** (List of String) Images to consider as cache sources\n- **cgroup_parent** (String) Optional parent cgroup for the container\n- **cpu_period** (Number) The length of a CPU period in microseconds\n- **cpu_quota** (Number) Microseconds of CPU time that the container can get in a CPU period\n- **cpu_set_cpus** (String) CPUs in which to allow execution (e.g., `0-3`, `0`, `1`)\n- **cpu_set_mems** (String) MEMs in which to allow execution (`0-3`, `0`, `1`)\n- **cpu_shares** (Number) CPU shares (relative weight)\n- **dockerfile** (String) Dockerfile file. Defaults to `Dockerfile`\n- **extra_hosts** (List of String) A list of hostnames/IP mappings to add to the container’s /etc/hosts file. Specified in the form [\"hostname:IP\"]\n- **force_remove** (Boolean) Always remove intermediate containers\n- **isolation** (String) Isolation represents the isolation technology of a container. The supported values are\n- **labels** (Map of String) User-defined key/value metadata\n- **memory** (Number) Set memory limit for build\n- **memory_swap** (Number) Total memory (memory + swap), -1 to enable unlimited swap\n- **network_mode** (String) Set the networking mode for the RUN instructions during build\n- **no_cache** (Boolean) Do not use the cache when building the image\n- **platform** (String) Set platform if server is multi-platform capable\n- **pull_parent** (Boolean) Attempt to pull the image even if an older image exists locally\n- **remote_context** (String) A Git repository URI or HTTP/HTTPS context URI\n- **remove** (Boolean) Remove intermediate containers after a successful build (default behavior)\n- **security_opt** (List of String) The security options\n- **session_id** (String) Set an ID for the build session\n- **shm_size** (Number) Size of /dev/shm in bytes. The size must be greater than 0\n- **squash** (Boolean) If true the new layers are squashed into a new image with a single new layer\n- **suppress_output** (Boolean) Suppress the build output and print image ID on success\n- **target** (String) Set the target build stage to build\n- **ulimit** (Block List) Configuration for ulimits (see below for nested schema)\n- **version** (String) Version of the unerlying builder to use\n\n<a id=\"nestedblock--build--auth_config\"></a>\n### Nested Schema for `build.auth_config`\n\nRequired:\n\n- **host_name** (String) hostname of the registry\n\nOptional:\n\n- **auth** (String) the auth token\n- **email** (String) the user emal\n- **identity_token** (String) the identity token\n- **password** (String) the registry password\n- **registry_token** (String) the registry token\n- **server_address** (String) the server address\n- **user_name** (String) the registry user name\n\n\n<a id=\"nestedblock--build--ulimit\"></a>\n### Nested Schema for `build.ulimit`\n\nRequired:\n\n- **hard** (Number) soft limit\n- **name** (String) type of ulimit, e.g. `nofile`\n- **soft** (Number) hard limit\n", 4172 "properties": { 4173 "build": { 4174 "$ref": "#/types/docker:index/RegistryImageBuild:RegistryImageBuild", 4175 "description": "Definition for building the image\n" 4176 }, 4177 "insecureSkipVerify": { 4178 "type": "boolean", 4179 "description": "If `true`, the verification of TLS certificates of the server/registry is disabled. Defaults to `false`\n" 4180 }, 4181 "keepRemotely": { 4182 "type": "boolean", 4183 "description": "If true, then the Docker image won't be deleted on destroy operation. If this is false, it will delete the image from\nthe docker registry on destroy operation. Defaults to `false`\n" 4184 }, 4185 "name": { 4186 "type": "string", 4187 "description": "The name of the Docker image.\n" 4188 }, 4189 "sha256Digest": { 4190 "type": "string", 4191 "description": "The sha256 digest of the image.\n" 4192 } 4193 }, 4194 "required": [ 4195 "name", 4196 "sha256Digest" 4197 ], 4198 "inputProperties": { 4199 "build": { 4200 "$ref": "#/types/docker:index/RegistryImageBuild:RegistryImageBuild", 4201 "description": "Definition for building the image\n" 4202 }, 4203 "insecureSkipVerify": { 4204 "type": "boolean", 4205 "description": "If `true`, the verification of TLS certificates of the server/registry is disabled. Defaults to `false`\n" 4206 }, 4207 "keepRemotely": { 4208 "type": "boolean", 4209 "description": "If true, then the Docker image won't be deleted on destroy operation. If this is false, it will delete the image from\nthe docker registry on destroy operation. Defaults to `false`\n" 4210 }, 4211 "name": { 4212 "type": "string", 4213 "description": "The name of the Docker image.\n" 4214 } 4215 }, 4216 "stateInputs": { 4217 "description": "Input properties used for looking up and filtering RegistryImage resources.\n", 4218 "properties": { 4219 "build": { 4220 "$ref": "#/types/docker:index/RegistryImageBuild:RegistryImageBuild", 4221 "description": "Definition for building the image\n" 4222 }, 4223 "insecureSkipVerify": { 4224 "type": "boolean", 4225 "description": "If `true`, the verification of TLS certificates of the server/registry is disabled. Defaults to `false`\n" 4226 }, 4227 "keepRemotely": { 4228 "type": "boolean", 4229 "description": "If true, then the Docker image won't be deleted on destroy operation. If this is false, it will delete the image from\nthe docker registry on destroy operation. Defaults to `false`\n" 4230 }, 4231 "name": { 4232 "type": "string", 4233 "description": "The name of the Docker image.\n" 4234 }, 4235 "sha256Digest": { 4236 "type": "string", 4237 "description": "The sha256 digest of the image.\n" 4238 } 4239 }, 4240 "type": "object" 4241 } 4242 }, 4243 "docker:index/remoteImage:RemoteImage": { 4244 "description": "<!-- Bug: Type and Name are switched -->\nPulls a Docker image to a given Docker host from a Docker Registry.\n This resource will *not* pull new layers of the image automatically unless used in conjunction with docker.RegistryImage data source to update the `pull_triggers` field.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Basic\n\nFinds and downloads the latest `ubuntu:precise` image but does not check\nfor further updates of the image\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as docker from \"@pulumi/docker\";\n\nconst ubuntu = new docker.RemoteImage(\"ubuntu\", {\n name: \"ubuntu:precise\",\n});\n```\n```python\nimport pulumi\nimport pulumi_docker as docker\n\nubuntu = docker.RemoteImage(\"ubuntu\", name=\"ubuntu:precise\")\n```\n```csharp\nusing Pulumi;\nusing Docker = Pulumi.Docker;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var ubuntu = new Docker.RemoteImage(\"ubuntu\", new Docker.RemoteImageArgs\n {\n Name = \"ubuntu:precise\",\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-docker/sdk/v3/go/docker\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := docker.NewRemoteImage(ctx, \"ubuntu\", &docker.RemoteImageArgs{\n\t\t\tName: pulumi.String(\"ubuntu:precise\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% example %}}\n### Dynamic updates\n\nTo be able to update an image dynamically when the `sha256` sum changes,\nyou need to use it in combination with `docker.RegistryImage` as follows:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as docker from \"@pulumi/docker\";\n\nconst ubuntuRegistryImage = docker.getRegistryImage({\n name: \"ubuntu:precise\",\n});\nconst ubuntuRemoteImage = new docker.RemoteImage(\"ubuntuRemoteImage\", {\n name: ubuntuRegistryImage.then(ubuntuRegistryImage => ubuntuRegistryImage.name),\n pullTriggers: [ubuntuRegistryImage.then(ubuntuRegistryImage => ubuntuRegistryImage.sha256Digest)],\n});\n```\n```python\nimport pulumi\nimport pulumi_docker as docker\n\nubuntu_registry_image = docker.get_registry_image(name=\"ubuntu:precise\")\nubuntu_remote_image = docker.RemoteImage(\"ubuntuRemoteImage\",\n name=ubuntu_registry_image.name,\n pull_triggers=[ubuntu_registry_image.sha256_digest])\n```\n```csharp\nusing Pulumi;\nusing Docker = Pulumi.Docker;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var ubuntuRegistryImage = Output.Create(Docker.GetRegistryImage.InvokeAsync(new Docker.GetRegistryImageArgs\n {\n Name = \"ubuntu:precise\",\n }));\n var ubuntuRemoteImage = new Docker.RemoteImage(\"ubuntuRemoteImage\", new Docker.RemoteImageArgs\n {\n Name = ubuntuRegistryImage.Apply(ubuntuRegistryImage => ubuntuRegistryImage.Name),\n PullTriggers = \n {\n ubuntuRegistryImage.Apply(ubuntuRegistryImage => ubuntuRegistryImage.Sha256Digest),\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-docker/sdk/v3/go/docker\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tubuntuRegistryImage, err := docker.LookupRegistryImage(ctx, &docker.LookupRegistryImageArgs{\n\t\t\tName: \"ubuntu:precise\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = docker.NewRemoteImage(ctx, \"ubuntuRemoteImage\", &docker.RemoteImageArgs{\n\t\t\tName: pulumi.String(ubuntuRegistryImage.Name),\n\t\t\tPullTriggers: pulumi.StringArray{\n\t\t\t\tpulumi.String(ubuntuRegistryImage.Sha256Digest),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% example %}}\n### Build\n\nYou can also use the resource to build an image.\nIn this case the image \"zoo\" and \"zoo:develop\" are built.\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as docker from \"@pulumi/docker\";\n\nconst zoo = new docker.RemoteImage(\"zoo\", {\n name: \"zoo\",\n build: {\n path: \".\",\n tags: [\"zoo:develop\"],\n buildArg: {\n foo: \"zoo\",\n },\n label: {\n author: \"zoo\",\n },\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_docker as docker\n\nzoo = docker.RemoteImage(\"zoo\",\n name=\"zoo\",\n build=docker.RemoteImageBuildArgs(\n path=\".\",\n tags=[\"zoo:develop\"],\n build_arg={\n \"foo\": \"zoo\",\n },\n label={\n \"author\": \"zoo\",\n },\n ))\n```\n```csharp\nusing Pulumi;\nusing Docker = Pulumi.Docker;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var zoo = new Docker.RemoteImage(\"zoo\", new Docker.RemoteImageArgs\n {\n Name = \"zoo\",\n Build = new Docker.Inputs.RemoteImageBuildArgs\n {\n Path = \".\",\n Tags = \n {\n \"zoo:develop\",\n },\n BuildArg = \n {\n { \"foo\", \"zoo\" },\n },\n Label = \n {\n { \"author\", \"zoo\" },\n },\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-docker/sdk/v3/go/docker\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := docker.NewRemoteImage(ctx, \"zoo\", &docker.RemoteImageArgs{\n\t\t\tName: pulumi.String(\"zoo\"),\n\t\t\tBuild: &docker.RemoteImageBuildArgs{\n\t\t\t\tPath: pulumi.String(\".\"),\n\t\t\t\tTags: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"zoo:develop\"),\n\t\t\t\t},\n\t\t\t\tBuildArg: pulumi.StringMap{\n\t\t\t\t\t\"foo\": pulumi.String(\"zoo\"),\n\t\t\t\t},\n\t\t\t\tLabel: pulumi.StringMap{\n\t\t\t\t\t\"author\": pulumi.String(\"zoo\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n\n<!-- schema generated by tfplugindocs -->\n{{% /example %}}\n{{% /examples %}}\n## Schema\n\n### Required\n\n- **name** (String) The name of the Docker image, including any tags or SHA256 repo digests.\n\n### Optional\n\n- **build** (Block Set, Max: 1) Configuration to build an image. Please see [docker build command reference](https://docs.docker.com/engine/reference/commandline/build/#options) too. (see below for nested schema)\n- **force_remove** (Boolean) If true, then the image is removed forcibly when the resource is destroyed.\n- **id** (String) The ID of this resource.\n- **keep_locally** (Boolean) If true, then the Docker image won't be deleted on destroy operation. If this is false, it will delete the image from the docker local storage on destroy operation.\n- **pull_trigger** (String, Deprecated) A value which cause an image pull when changed\n- **pull_triggers** (Set of String) List of values which cause an image pull when changed. This is used to store the image digest from the registry when using the docker_registry_image.\n\n### Read-Only\n\n- **latest** (String, Deprecated) The ID of the image in the form of `sha256:<hash>` image digest. Do not confuse it with the default `latest` tag.\n- **output** (String, Deprecated)\n- **repo_digest** (String) The image sha256 digest in the form of `repo[:tag]@sha256:<hash>`.\n\n<a id=\"nestedblock--build\"></a>\n### Nested Schema for `build`\n\nRequired:\n\n- **path** (String) Context path\n\nOptional:\n\n- **build_arg** (Map of String) Set build-time variables\n- **dockerfile** (String) Name of the Dockerfile. Defaults to `Dockerfile`.\n- **force_remove** (Boolean) Always remove intermediate containers\n- **label** (Map of String) Set metadata for an image\n- **no_cache** (Boolean) Do not use cache when building the image\n- **remove** (Boolean) Remove intermediate containers after a successful build. Defaults to `true`.\n- **tag** (List of String) Name and optionally a tag in the 'name:tag' format\n- **target** (String) Set the target build stage to build\n", 4245 "properties": { 4246 "build": { 4247 "$ref": "#/types/docker:index/RemoteImageBuild:RemoteImageBuild", 4248 "description": "Configuration to build an image. Please see [docker build command\nreference](https://docs.docker.com/engine/reference/commandline/build/#options) too.\n" 4249 }, 4250 "forceRemove": { 4251 "type": "boolean", 4252 "description": "If true, then the image is removed forcibly when the resource is destroyed.\n" 4253 }, 4254 "keepLocally": { 4255 "type": "boolean", 4256 "description": "If true, then the Docker image won't be deleted on destroy operation. If this is false, it will delete the image from\nthe docker local storage on destroy operation.\n" 4257 }, 4258 "latest": { 4259 "type": "string", 4260 "description": "The ID of the image in the form of `sha256:<hash>` image digest. Do not confuse it with the default `latest` tag.\n", 4261 "deprecationMessage": "Use repo_digest instead" 4262 }, 4263 "name": { 4264 "type": "string", 4265 "description": "The name of the Docker image, including any tags or SHA256 repo digests.\n" 4266 }, 4267 "output": { 4268 "type": "string", 4269 "deprecationMessage": "Is unused and will be removed." 4270 }, 4271 "pullTrigger": { 4272 "type": "string", 4273 "description": "A value which cause an image pull when changed\n", 4274 "deprecationMessage": "Use field pull_triggers instead" 4275 }, 4276 "pullTriggers": { 4277 "type": "array", 4278 "items": { 4279 "type": "string" 4280 }, 4281 "description": "List of values which cause an image pull when changed. This is used to store the image digest from the registry when\nusing the [docker_registry_image](../data-sources/registry_image.md).\n" 4282 }, 4283 "repoDigest": { 4284 "type": "string", 4285 "description": "The image sha256 digest in the form of `repo[:tag]@sha256:<hash>`.\n" 4286 } 4287 }, 4288 "required": [ 4289 "latest", 4290 "name", 4291 "output", 4292 "repoDigest" 4293 ], 4294 "inputProperties": { 4295 "build": { 4296 "$ref": "#/types/docker:index/RemoteImageBuild:RemoteImageBuild", 4297 "description": "Configuration to build an image. Please see [docker build command\nreference](https://docs.docker.com/engine/reference/commandline/build/#options) too.\n" 4298 }, 4299 "forceRemove": { 4300 "type": "boolean", 4301 "description": "If true, then the image is removed forcibly when the resource is destroyed.\n" 4302 }, 4303 "keepLocally": { 4304 "type": "boolean", 4305 "description": "If true, then the Docker image won't be deleted on destroy operation. If this is false, it will delete the image from\nthe docker local storage on destroy operation.\n" 4306 }, 4307 "name": { 4308 "type": "string", 4309 "description": "The name of the Docker image, including any tags or SHA256 repo digests.\n" 4310 }, 4311 "pullTrigger": { 4312 "type": "string", 4313 "description": "A value which cause an image pull when changed\n", 4314 "deprecationMessage": "Use field pull_triggers instead" 4315 }, 4316 "pullTriggers": { 4317 "type": "array", 4318 "items": { 4319 "type": "string" 4320 }, 4321 "description": "List of values which cause an image pull when changed. This is used to store the image digest from the registry when\nusing the [docker_registry_image](../data-sources/registry_image.md).\n" 4322 } 4323 }, 4324 "requiredInputs": [ 4325 "name" 4326 ], 4327 "stateInputs": { 4328 "description": "Input properties used for looking up and filtering RemoteImage resources.\n", 4329 "properties": { 4330 "build": { 4331 "$ref": "#/types/docker:index/RemoteImageBuild:RemoteImageBuild", 4332 "description": "Configuration to build an image. Please see [docker build command\nreference](https://docs.docker.com/engine/reference/commandline/build/#options) too.\n" 4333 }, 4334 "forceRemove": { 4335 "type": "boolean", 4336 "description": "If true, then the image is removed forcibly when the resource is destroyed.\n" 4337 }, 4338 "keepLocally": { 4339 "type": "boolean", 4340 "description": "If true, then the Docker image won't be deleted on destroy operation. If this is false, it will delete the image from\nthe docker local storage on destroy operation.\n" 4341 }, 4342 "latest": { 4343 "type": "string", 4344 "description": "The ID of the image in the form of `sha256:<hash>` image digest. Do not confuse it with the default `latest` tag.\n", 4345 "deprecationMessage": "Use repo_digest instead" 4346 }, 4347 "name": { 4348 "type": "string", 4349 "description": "The name of the Docker image, including any tags or SHA256 repo digests.\n" 4350 }, 4351 "output": { 4352 "type": "string", 4353 "deprecationMessage": "Is unused and will be removed." 4354 }, 4355 "pullTrigger": { 4356 "type": "string", 4357 "description": "A value which cause an image pull when changed\n", 4358 "deprecationMessage": "Use field pull_triggers instead" 4359 }, 4360 "pullTriggers": { 4361 "type": "array", 4362 "items": { 4363 "type": "string" 4364 }, 4365 "description": "List of values which cause an image pull when changed. This is used to store the image digest from the registry when\nusing the [docker_registry_image](../data-sources/registry_image.md).\n" 4366 }, 4367 "repoDigest": { 4368 "type": "string", 4369 "description": "The image sha256 digest in the form of `repo[:tag]@sha256:<hash>`.\n" 4370 } 4371 }, 4372 "type": "object" 4373 } 4374 }, 4375 "docker:index/secret:Secret": { 4376 "description": "\n\n\n## Import\n\nImport is supported using the following syntax#!/bin/bash # Docker secret cannot be imported as the secret data, once set, is never exposed again. ", 4377 "properties": { 4378 "data": { 4379 "type": "string", 4380 "description": "Base64-url-safe-encoded secret data\n" 4381 }, 4382 "labels": { 4383 "type": "array", 4384 "items": { 4385 "$ref": "#/types/docker:index/SecretLabel:SecretLabel" 4386 }, 4387 "description": "User-defined key/value metadata\n" 4388 }, 4389 "name": { 4390 "type": "string", 4391 "description": "User-defined name of the secret\n" 4392 } 4393 }, 4394 "required": [ 4395 "data", 4396 "name" 4397 ], 4398 "inputProperties": { 4399 "data": { 4400 "type": "string", 4401 "description": "Base64-url-safe-encoded secret data\n" 4402 }, 4403 "labels": { 4404 "type": "array", 4405 "items": { 4406 "$ref": "#/types/docker:index/SecretLabel:SecretLabel" 4407 }, 4408 "description": "User-defined key/value metadata\n" 4409 }, 4410 "name": { 4411 "type": "string", 4412 "description": "User-defined name of the secret\n" 4413 } 4414 }, 4415 "requiredInputs": [ 4416 "data" 4417 ], 4418 "stateInputs": { 4419 "description": "Input properties used for looking up and filtering Secret resources.\n", 4420 "properties": { 4421 "data": { 4422 "type": "string", 4423 "description": "Base64-url-safe-encoded secret data\n" 4424 }, 4425 "labels": { 4426 "type": "array", 4427 "items": { 4428 "$ref": "#/types/docker:index/SecretLabel:SecretLabel" 4429 }, 4430 "description": "User-defined key/value metadata\n" 4431 }, 4432 "name": { 4433 "type": "string", 4434 "description": "User-defined name of the secret\n" 4435 } 4436 }, 4437 "type": "object" 4438 } 4439 }, 4440 "docker:index/service:Service": { 4441 "description": "\n\n\n## Import\n\n### Example 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\" {\n\n name = \"foo\"\n\n task_spec {\n\n\n\n container_spec {\n\n\n\n\n\n image = \"nginx\"\n\n\n\n }\n\n }\n\n endpoint_spec {\n\n\n\n ports {\n\n\n\n\n\n target_port\n\n\n\n= \"80\"\n\n\n\n\n\n published_port = \"8080\"\n\n\n\n }\n\n } } then the import command is as follows #!/bin/bash\n\n```sh\n $ pulumi import docker:index/service:Service foo 4pcphbxkfn2rffhbhe6czytgi\n```\n\n ", 4442 "properties": { 4443 "auth": { 4444 "$ref": "#/types/docker:index/ServiceAuth:ServiceAuth", 4445 "description": "Configuration for the authentication for pulling the images of the service\n" 4446 }, 4447 "convergeConfig": { 4448 "$ref": "#/types/docker:index/ServiceConvergeConfig:ServiceConvergeConfig", 4449 "description": "A configuration to ensure that a service converges aka reaches the desired that of all task up and running\n" 4450 }, 4451 "endpointSpec": { 4452 "$ref": "#/types/docker:index/ServiceEndpointSpec:ServiceEndpointSpec", 4453 "description": "Properties that can be configured to access and load balance a service\n" 4454 }, 4455 "labels": { 4456 "type": "array", 4457 "items": { 4458 "$ref": "#/types/docker:index/ServiceLabel:ServiceLabel" 4459 }, 4460 "description": "User-defined key/value metadata\n" 4461 }, 4462 "mode": { 4463 "$ref": "#/types/docker:index/ServiceMode:ServiceMode", 4464 "description": "Scheduling mode for the service\n" 4465 }, 4466 "name": { 4467 "type": "string", 4468 "description": "Name of the service\n" 4469 }, 4470 "rollbackConfig": { 4471 "$ref": "#/types/docker:index/ServiceRollbackConfig:ServiceRollbackConfig", 4472 "description": "Specification for the rollback strategy of the service\n" 4473 }, 4474 "taskSpec": { 4475 "$ref": "#/types/docker:index/ServiceTaskSpec:ServiceTaskSpec", 4476 "description": "User modifiable task configuration\n" 4477 }, 4478 "updateConfig": { 4479 "$ref": "#/types/docker:index/ServiceUpdateConfig:ServiceUpdateConfig", 4480 "description": "Specification for the update strategy of the service\n" 4481 } 4482 }, 4483 "required": [ 4484 "endpointSpec", 4485 "labels", 4486 "mode", 4487 "name", 4488 "taskSpec" 4489 ], 4490 "inputProperties": { 4491 "auth": { 4492 "$ref": "#/types/docker:index/ServiceAuth:ServiceAuth", 4493 "description": "Configuration for the authentication for pulling the images of the service\n" 4494 }, 4495 "convergeConfig": { 4496 "$ref": "#/types/docker:index/ServiceConvergeConfig:ServiceConvergeConfig", 4497 "description": "A configuration to ensure that a service converges aka reaches the desired that of all task up and running\n" 4498 }, 4499 "endpointSpec": { 4500 "$ref": "#/types/docker:index/ServiceEndpointSpec:ServiceEndpointSpec", 4501 "description": "Properties that can be configured to access and load balance a service\n" 4502 }, 4503 "labels": { 4504 "type": "array", 4505 "items": { 4506 "$ref": "#/types/docker:index/ServiceLabel:ServiceLabel" 4507 }, 4508 "description": "User-defined key/value metadata\n" 4509 }, 4510 "mode": { 4511 "$ref": "#/types/docker:index/ServiceMode:ServiceMode", 4512 "description": "Scheduling mode for the service\n" 4513 }, 4514 "name": { 4515 "type": "string", 4516 "description": "Name of the service\n" 4517 }, 4518 "rollbackConfig": { 4519 "$ref": "#/types/docker:index/ServiceRollbackConfig:ServiceRollbackConfig", 4520 "description": "Specification for the rollback strategy of the service\n" 4521 }, 4522 "taskSpec": { 4523 "$ref": "#/types/docker:index/ServiceTaskSpec:ServiceTaskSpec", 4524 "description": "User modifiable task configuration\n" 4525 }, 4526 "updateConfig": { 4527 "$ref": "#/types/docker:index/ServiceUpdateConfig:ServiceUpdateConfig", 4528 "description": "Specification for the update strategy of the service\n" 4529 } 4530 }, 4531 "requiredInputs": [ 4532 "taskSpec" 4533 ], 4534 "stateInputs": { 4535 "description": "Input properties used for looking up and filtering Service resources.\n", 4536 "properties": { 4537 "auth": { 4538 "$ref": "#/types/docker:index/ServiceAuth:ServiceAuth", 4539 "description": "Configuration for the authentication for pulling the images of the service\n" 4540 }, 4541 "convergeConfig": { 4542 "$ref": "#/types/docker:index/ServiceConvergeConfig:ServiceConvergeConfig", 4543 "description": "A configuration to ensure that a service converges aka reaches the desired that of all task up and running\n" 4544 }, 4545 "endpointSpec": { 4546 "$ref": "#/types/docker:index/ServiceEndpointSpec:ServiceEndpointSpec", 4547 "description": "Properties that can be configured to access and load balance a service\n" 4548 }, 4549 "labels": { 4550 "type": "array", 4551 "items": { 4552 "$ref": "#/types/docker:index/ServiceLabel:ServiceLabel" 4553 }, 4554 "description": "User-defined key/value metadata\n" 4555 }, 4556 "mode": { 4557 "$ref": "#/types/docker:index/ServiceMode:ServiceMode", 4558 "description": "Scheduling mode for the service\n" 4559 }, 4560 "name": { 4561 "type": "string", 4562 "description": "Name of the service\n" 4563 }, 4564 "rollbackConfig": { 4565 "$ref": "#/types/docker:index/ServiceRollbackConfig:ServiceRollbackConfig", 4566 "description": "Specification for the rollback strategy of the service\n" 4567 }, 4568 "taskSpec": { 4569 "$ref": "#/types/docker:index/ServiceTaskSpec:ServiceTaskSpec", 4570 "description": "User modifiable task configuration\n" 4571 }, 4572 "updateConfig": { 4573 "$ref": "#/types/docker:index/ServiceUpdateConfig:ServiceUpdateConfig", 4574 "description": "Specification for the update strategy of the service\n" 4575 } 4576 }, 4577 "type": "object" 4578 } 4579 }, 4580 "docker:index/serviceConfig:ServiceConfig": { 4581 "description": "\n\n\n## Import\n\n### Example Assuming you created a `config` as follows #!/bin/bash printf '{\"a\":\"b\"}' | docker config create foo - # prints the id\n\n08c26c477474478d971139f750984775a7f019dbe8a2e7f09d66a187c009e66d you provide the definition for the resource as follows terraform resource \"docker_config\" \"foo\" {\n\n name = \"foo\"\n\n data = base64encode(\"{\\\"a\\\"\\\"b\\\"}\") } then the import command is as follows #!/bin/bash\n\n```sh\n $ pulumi import docker:index/serviceConfig:ServiceConfig foo 08c26c477474478d971139f750984775a7f019dbe8a2e7f09d66a187c009e66d\n```\n\n ", 4582 "properties": { 4583 "data": { 4584 "type": "string", 4585 "description": "Base64-url-safe-encoded config data\n" 4586 }, 4587 "name": { 4588 "type": "string", 4589 "description": "User-defined name of the config\n" 4590 } 4591 }, 4592 "required": [ 4593 "data", 4594 "name" 4595 ], 4596 "inputProperties": { 4597 "data": { 4598 "type": "string", 4599 "description": "Base64-url-safe-encoded config data\n" 4600 }, 4601 "name": { 4602 "type": "string", 4603 "description": "User-defined name of the config\n" 4604 } 4605 }, 4606 "requiredInputs": [ 4607 "data" 4608 ], 4609 "stateInputs": { 4610 "description": "Input properties used for looking up and filtering ServiceConfig resources.\n", 4611 "properties": { 4612 "data": { 4613 "type": "string", 4614 "description": "Base64-url-safe-encoded config data\n" 4615 }, 4616 "name": { 4617 "type": "string", 4618 "description": "User-defined name of the config\n" 4619 } 4620 }, 4621 "type": "object" 4622 } 4623 }, 4624 "docker:index/volume:Volume": { 4625 "description": "<!-- Bug: Type and Name are switched -->\nCreates and destroys a volume in Docker. This can be used alongside docker.Container to prepare volumes that can be shared across containers.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as docker from \"@pulumi/docker\";\n\nconst sharedVolume = new docker.Volume(\"shared_volume\", {});\n```\n```python\nimport pulumi\nimport pulumi_docker as docker\n\nshared_volume = docker.Volume(\"sharedVolume\")\n```\n```csharp\nusing Pulumi;\nusing Docker = Pulumi.Docker;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var sharedVolume = new Docker.Volume(\"sharedVolume\", new Docker.VolumeArgs\n {\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-docker/sdk/v3/go/docker\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := docker.NewVolume(ctx, \"sharedVolume\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n\n<!-- schema generated by tfplugindocs -->\n{{% /example %}}\n{{% /examples %}}\n## Schema\n\n### Optional\n\n- **driver** (String) Driver type for the volume. Defaults to `local`.\n- **driver_opts** (Map of String) Options specific to the driver.\n- **id** (String) The ID of this resource.\n- **labels** (Block Set) User-defined key/value metadata (see below for nested schema)\n- **name** (String) The name of the Docker volume (will be generated if not provided).\n\n### Read-Only\n\n- **mountpoint** (String) The mountpoint of the volume.\n\n<a id=\"nestedblock--labels\"></a>\n### Nested Schema for `labels`\n\nRequired:\n\n- **label** (String) Name of the label\n- **value** (String) Value of the label\n\n\n## Import\n\n### Example Assuming you created a `volume` as follows #!/bin/bash docker volume create # prints the long ID 524b0457aa2a87dd2b75c74c3e4e53f406974249e63ab3ed9bf21e5644f9dc7d you provide the definition for the resource as follows terraform resource \"docker_volume\" \"foo\" {\n\n name = \"524b0457aa2a87dd2b75c74c3e4e53f406974249e63ab3ed9bf21e5644f9dc7d\" } then the import command is as follows #!/bin/bash\n\n```sh\n $ pulumi import docker:index/volume:Volume foo 524b0457aa2a87dd2b75c74c3e4e53f406974249e63ab3ed9bf21e5644f9dc7d\n```\n\n ", 4626 "properties": { 4627 "driver": { 4628 "type": "string", 4629 "description": "Driver type for the volume. Defaults to `local`.\n" 4630 }, 4631 "driverOpts": { 4632 "type": "object", 4633 "additionalProperties": { 4634 "$ref": "pulumi.json#/Any" 4635 }, 4636 "description": "Options specific to the driver.\n" 4637 }, 4638 "labels": { 4639 "type": "array", 4640 "items": { 4641 "$ref": "#/types/docker:index/VolumeLabel:VolumeLabel" 4642 }, 4643 "description": "User-defined key/value metadata\n" 4644 }, 4645 "mountpoint": { 4646 "type": "string", 4647 "description": "The mountpoint of the volume.\n" 4648 }, 4649 "name": { 4650 "type": "string", 4651 "description": "The name of the Docker volume (will be generated if not provided).\n" 4652 } 4653 }, 4654 "required": [ 4655 "driver", 4656 "mountpoint", 4657 "name" 4658 ], 4659 "inputProperties": { 4660 "driver": { 4661 "type": "string", 4662 "description": "Driver type for the volume. Defaults to `local`.\n" 4663 }, 4664 "driverOpts": { 4665 "type": "object", 4666 "additionalProperties": { 4667 "$ref": "pulumi.json#/Any" 4668 }, 4669 "description": "Options specific to the driver.\n" 4670 }, 4671 "labels": { 4672 "type": "array", 4673 "items": { 4674 "$ref": "#/types/docker:index/VolumeLabel:VolumeLabel" 4675 }, 4676 "description": "User-defined key/value metadata\n" 4677 }, 4678 "name": { 4679 "type": "string", 4680 "description": "The name of the Docker volume (will be generated if not provided).\n" 4681 } 4682 }, 4683 "stateInputs": { 4684 "description": "Input properties used for looking up and filtering Volume resources.\n", 4685 "properties": { 4686 "driver": { 4687 "type": "string", 4688 "description": "Driver type for the volume. Defaults to `local`.\n" 4689 }, 4690 "driverOpts": { 4691 "type": "object", 4692 "additionalProperties": { 4693 "$ref": "pulumi.json#/Any" 4694 }, 4695 "description": "Options specific to the driver.\n" 4696 }, 4697 "labels": { 4698 "type": "array", 4699 "items": { 4700 "$ref": "#/types/docker:index/VolumeLabel:VolumeLabel" 4701 }, 4702 "description": "User-defined key/value metadata\n" 4703 }, 4704 "mountpoint": { 4705 "type": "string", 4706 "description": "The mountpoint of the volume.\n" 4707 }, 4708 "name": { 4709 "type": "string", 4710 "description": "The name of the Docker volume (will be generated if not provided).\n" 4711 } 4712 }, 4713 "type": "object" 4714 } 4715 } 4716 }, 4717 "functions": { 4718 "docker:index/getNetwork:getNetwork": { 4719 "description": "`docker.Network` provides details about a specific Docker Network.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as docker from \"@pulumi/docker\";\n\nconst main = pulumi.output(docker.getNetwork({\n name: \"main\",\n}, { async: true }));\n```\n```python\nimport pulumi\nimport pulumi_docker as docker\n\nmain = docker.get_network(name=\"main\")\n```\n```csharp\nusing Pulumi;\nusing Docker = Pulumi.Docker;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var main = Output.Create(Docker.GetNetwork.InvokeAsync(new Docker.GetNetworkArgs\n {\n Name = \"main\",\n }));\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-docker/sdk/v3/go/docker\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := docker.LookupNetwork(ctx, &docker.LookupNetworkArgs{\n\t\t\tName: \"main\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n\n<!-- schema generated by tfplugindocs -->\n{{% /example %}}\n{{% /examples %}}\n## Schema\n\n### Required\n\n- **name** (String) The name of the Docker network.\n\n### Read-Only\n\n- **driver** (String) The driver of the Docker network. Possible values are `bridge`, `host`, `overlay`, `macvlan`. See [network docs](https://docs.docker.com/network/#network-drivers) for more details.\n- **id** (String) The ID of this resource.\n- **internal** (Boolean) If `true`, the network is internal.\n- **ipam_config** (Set of Object) The IPAM configuration options (see below for nested schema)\n- **options** (Map of String) Only available with bridge networks. See [bridge options docs](https://docs.docker.com/engine/reference/commandline/network_create/#bridge-driver-options) for more details.\n- **scope** (String) Scope of the network. One of `swarm`, `global`, or `local`.\n\n<a id=\"nestedatt--ipam_config\"></a>\n### Nested Schema for `ipam_config`\n\nRead-Only:\n\n- **aux_address** (Map of String)\n- **gateway** (String)\n- **ip_range** (String)\n- **subnet** (String)\n", 4720 "inputs": { 4721 "description": "A collection of arguments for invoking getNetwork.\n", 4722 "properties": { 4723 "name": { 4724 "type": "string" 4725 } 4726 }, 4727 "type": "object", 4728 "required": [ 4729 "name" 4730 ] 4731 }, 4732 "outputs": { 4733 "description": "A collection of values returned by getNetwork.\n", 4734 "properties": { 4735 "driver": { 4736 "type": "string" 4737 }, 4738 "id": { 4739 "type": "string" 4740 }, 4741 "internal": { 4742 "type": "boolean" 4743 }, 4744 "ipamConfigs": { 4745 "type": "array", 4746 "items": { 4747 "$ref": "#/types/docker:index/getNetworkIpamConfig:getNetworkIpamConfig" 4748 } 4749 }, 4750 "name": { 4751 "type": "string" 4752 }, 4753 "options": { 4754 "type": "object", 4755 "additionalProperties": { 4756 "$ref": "pulumi.json#/Any" 4757 } 4758 }, 4759 "scope": { 4760 "type": "string" 4761 } 4762 }, 4763 "type": "object", 4764 "required": [ 4765 "driver", 4766 "id", 4767 "internal", 4768 "ipamConfigs", 4769 "name", 4770 "options", 4771 "scope" 4772 ] 4773 } 4774 }, 4775 "docker:index/getPlugin:getPlugin": { 4776 "description": "Reads the local Docker plugin. The plugin must be installed locally.\n\n{{% examples %}}\n## Example Usage\n\n### With alias\ndata \"docker.Plugin\" \"by_alias\" {\n alias = \"sample-volume-plugin:latest\"\n}\n{{% /examples %}}\n## Schema\n\n### Optional\n\n- **alias** (String) The alias of the Docker plugin. If the tag is omitted, `:latest` is complemented to the attribute value.\n- **id** (String) The ID of the plugin, which has precedence over the `alias` of both are given\n\n### Read-Only\n\n- **enabled** (Boolean) If `true` the plugin is enabled\n- **env** (Set of String) The environment variables in the form of `KEY=VALUE`, e.g. `DEBUG=0`\n- **grant_all_permissions** (Boolean) If true, grant all permissions necessary to run the plugin\n- **name** (String) The plugin name. If the tag is omitted, `:latest` is complemented to the attribute value.\n- **plugin_reference** (String) The Docker Plugin Reference\n", 4777 "inputs": { 4778 "description": "A collection of arguments for invoking getPlugin.\n", 4779 "properties": { 4780 "alias": { 4781 "type": "string" 4782 }, 4783 "id": { 4784 "type": "string" 4785 } 4786 }, 4787 "type": "object" 4788 }, 4789 "outputs": { 4790 "description": "A collection of values returned by getPlugin.\n", 4791 "properties": { 4792 "alias": { 4793 "type": "string" 4794 }, 4795 "enabled": { 4796 "type": "boolean" 4797 }, 4798 "envs": { 4799 "type": "array", 4800 "items": { 4801 "type": "string" 4802 } 4803 }, 4804 "grantAllPermissions": { 4805 "type": "boolean" 4806 }, 4807 "id": { 4808 "type": "string" 4809 }, 4810 "name": { 4811 "type": "string" 4812 }, 4813 "pluginReference": { 4814 "type": "string" 4815 } 4816 }, 4817 "type": "object", 4818 "required": [ 4819 "enabled", 4820 "envs", 4821 "grantAllPermissions", 4822 "name", 4823 "pluginReference" 4824 ] 4825 } 4826 }, 4827 "docker:index/getRegistryImage:getRegistryImage": { 4828 "description": "Reads the image metadata from a Docker Registry. Used in conjunction with the docker.RemoteImage resource to keep an image up to date on the latest available version of the tag.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as docker from \"@pulumi/docker\";\n\nconst ubuntuRegistryImage = docker.getRegistryImage({\n name: \"ubuntu:precise\",\n});\nconst ubuntuRemoteImage = new docker.RemoteImage(\"ubuntuRemoteImage\", {\n name: ubuntuRegistryImage.then(ubuntuRegistryImage => ubuntuRegistryImage.name),\n pullTriggers: [ubuntuRegistryImage.then(ubuntuRegistryImage => ubuntuRegistryImage.sha256Digest)],\n});\n```\n```python\nimport pulumi\nimport pulumi_docker as docker\n\nubuntu_registry_image = docker.get_registry_image(name=\"ubuntu:precise\")\nubuntu_remote_image = docker.RemoteImage(\"ubuntuRemoteImage\",\n name=ubuntu_registry_image.name,\n pull_triggers=[ubuntu_registry_image.sha256_digest])\n```\n```csharp\nusing Pulumi;\nusing Docker = Pulumi.Docker;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var ubuntuRegistryImage = Output.Create(Docker.GetRegistryImage.InvokeAsync(new Docker.GetRegistryImageArgs\n {\n Name = \"ubuntu:precise\",\n }));\n var ubuntuRemoteImage = new Docker.RemoteImage(\"ubuntuRemoteImage\", new Docker.RemoteImageArgs\n {\n Name = ubuntuRegistryImage.Apply(ubuntuRegistryImage => ubuntuRegistryImage.Name),\n PullTriggers = \n {\n ubuntuRegistryImage.Apply(ubuntuRegistryImage => ubuntuRegistryImage.Sha256Digest),\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-docker/sdk/v3/go/docker\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tubuntuRegistryImage, err := docker.LookupRegistryImage(ctx, &docker.LookupRegistryImageArgs{\n\t\t\tName: \"ubuntu:precise\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = docker.NewRemoteImage(ctx, \"ubuntuRemoteImage\", &docker.RemoteImageArgs{\n\t\t\tName: pulumi.String(ubuntuRegistryImage.Name),\n\t\t\tPullTriggers: pulumi.StringArray{\n\t\t\t\tpulumi.String(ubuntuRegistryImage.Sha256Digest),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n\n<!-- schema generated by tfplugindocs -->\n{{% /example %}}\n{{% /examples %}}\n## Schema\n\n### Required\n\n- **name** (String) The name of the Docker image, including any tags. e.g. `alpine:latest`\n\n### Optional\n\n- **id** (String) The ID of this resource.\n- **insecure_skip_verify** (Boolean) If `true`, the verification of TLS certificates of the server/registry is disabled. Defaults to `false`\n\n### Read-Only\n\n- **sha256_digest** (String) The content digest of the image, as stored in the registry.\n", 4829 "inputs": { 4830 "description": "A collection of arguments for invoking getRegistryImage.\n", 4831 "properties": { 4832 "insecureSkipVerify": { 4833 "type": "boolean" 4834 }, 4835 "name": { 4836 "type": "string" 4837 } 4838 }, 4839 "type": "object", 4840 "required": [ 4841 "name" 4842 ] 4843 }, 4844 "outputs": { 4845 "description": "A collection of values returned by getRegistryImage.\n", 4846 "properties": { 4847 "id": { 4848 "type": "string", 4849 "description": "The provider-assigned unique ID for this managed resource.\n" 4850 }, 4851 "insecureSkipVerify": { 4852 "type": "boolean" 4853 }, 4854 "name": { 4855 "type": "string" 4856 }, 4857 "sha256Digest": { 4858 "type": "string" 4859 } 4860 }, 4861 "type": "object", 4862 "required": [ 4863 "name", 4864 "sha256Digest", 4865 "id" 4866 ] 4867 } 4868 }, 4869 "docker:index/getRemoteImage:getRemoteImage": { 4870 "description": "`docker.RemoteImage` provides details about a specific Docker Image which need to be presend on the Docker Host\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as docker from \"@pulumi/docker\";\n\n// uses the 'latest' tag\nconst latest = pulumi.output(docker.getRemoteImage({\n name: \"nginx\",\n}, { async: true }));\n// uses a specific tag\nconst specific = pulumi.output(docker.getRemoteImage({\n name: \"nginx:1.17.6\",\n}, { async: true }));\n// use the image digest\nconst digest = pulumi.output(docker.getRemoteImage({\n name: \"nginx@sha256:36b74457bccb56fbf8b05f79c85569501b721d4db813b684391d63e02287c0b2\",\n}, { async: true }));\n// uses the tag and the image digest\nconst tagAndDigest = pulumi.output(docker.getRemoteImage({\n name: \"nginx:1.19.1@sha256:36b74457bccb56fbf8b05f79c85569501b721d4db813b684391d63e02287c0b2\",\n}, { async: true }));\n```\n```python\nimport pulumi\nimport pulumi_docker as docker\n\nlatest = docker.get_remote_image(name=\"nginx\")\nspecific = docker.get_remote_image(name=\"nginx:1.17.6\")\ndigest = docker.get_remote_image(name=\"nginx@sha256:36b74457bccb56fbf8b05f79c85569501b721d4db813b684391d63e02287c0b2\")\ntag_and_digest = docker.get_remote_image(name=\"nginx:1.19.1@sha256:36b74457bccb56fbf8b05f79c85569501b721d4db813b684391d63e02287c0b2\")\n```\n```csharp\nusing Pulumi;\nusing Docker = Pulumi.Docker;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var latest = Output.Create(Docker.GetRemoteImage.InvokeAsync(new Docker.GetRemoteImageArgs\n {\n Name = \"nginx\",\n }));\n var specific = Output.Create(Docker.GetRemoteImage.InvokeAsync(new Docker.GetRemoteImageArgs\n {\n Name = \"nginx:1.17.6\",\n }));\n var digest = Output.Create(Docker.GetRemoteImage.InvokeAsync(new Docker.GetRemoteImageArgs\n {\n Name = \"nginx@sha256:36b74457bccb56fbf8b05f79c85569501b721d4db813b684391d63e02287c0b2\",\n }));\n var tagAndDigest = Output.Create(Docker.GetRemoteImage.InvokeAsync(new Docker.GetRemoteImageArgs\n {\n Name = \"nginx:1.19.1@sha256:36b74457bccb56fbf8b05f79c85569501b721d4db813b684391d63e02287c0b2\",\n }));\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-docker/sdk/v3/go/docker\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := docker.LookupRemoteImage(ctx, &docker.LookupRemoteImageArgs{\n\t\t\tName: \"nginx\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = docker.LookupRemoteImage(ctx, &docker.LookupRemoteImageArgs{\n\t\t\tName: \"nginx:1.17.6\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = docker.LookupRemoteImage(ctx, &docker.LookupRemoteImageArgs{\n\t\t\tName: \"nginx@sha256:36b74457bccb56fbf8b05f79c85569501b721d4db813b684391d63e02287c0b2\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = docker.LookupRemoteImage(ctx, &docker.LookupRemoteImageArgs{\n\t\t\tName: \"nginx:1.19.1@sha256:36b74457bccb56fbf8b05f79c85569501b721d4db813b684391d63e02287c0b2\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n\n<!-- schema generated by tfplugindocs -->\n{{% /example %}}\n{{% /examples %}}\n## Schema\n\n### Required\n\n- **name** (String) The name of the Docker image, including any tags or SHA256 repo digests.\n\n### Optional\n\n- **id** (String) The ID of this resource.\n\n### Read-Only\n\n- **repo_digest** (String) The image sha256 digest in the form of `repo[:tag]@sha256:<hash>`. It may be empty in the edge case where the local image was pulled from a repo, tagged locally, and then referred to in the data source by that local name/tag.\n", 4871 "inputs": { 4872 "description": "A collection of arguments for invoking getRemoteImage.\n", 4873 "properties": { 4874 "name": { 4875 "type": "string" 4876 } 4877 }, 4878 "type": "object", 4879 "required": [ 4880 "name" 4881 ] 4882 }, 4883 "outputs": { 4884 "description": "A collection of values returned by getRemoteImage.\n", 4885 "properties": { 4886 "id": { 4887 "type": "string", 4888 "description": "The provider-assigned unique ID for this managed resource.\n" 4889 }, 4890 "name": { 4891 "type": "string" 4892 }, 4893 "repoDigest": { 4894 "type": "string" 4895 } 4896 }, 4897 "type": "object", 4898 "required": [ 4899 "name", 4900 "repoDigest", 4901 "id" 4902 ] 4903 } 4904 } 4905 }, 4906 "language": { 4907 "csharp": { 4908 "compatibility": "tfbridge20", 4909 "namespaces": { 4910 "docker": "Docker" 4911 }, 4912 "packageReferences": { 4913 "Pulumi": "3.*", 4914 "Semver": "2.0.6" 4915 } 4916 }, 4917 "go": { 4918 "generateResourceContainerTypes": true, 4919 "importBasePath": "github.com/pulumi/pulumi-docker/sdk/v3/go/docker" 4920 }, 4921 "nodejs": { 4922 "compatibility": "tfbridge20", 4923 "dependencies": { 4924 "@pulumi/pulumi": "^3.0.0", 4925 "semver": "^5.4.0" 4926 }, 4927 "devDependencies": { 4928 "@types/node": "^10.0.0", 4929 "@types/semver": "^5.4.0" 4930 }, 4931 "disableUnionOutputTypes": true, 4932 "packageDescription": "A Pulumi package for interacting with Docker in Pulumi programs", 4933 "packageName": "", 4934 "readme": "> This provider is a derived work of the [Terraform Provider](https://github.com/terraform-providers/terraform-provider-docker)\n> distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature,\n> first check the [`pulumi/pulumi-docker` repo](https://github.com/pulumi/pulumi-docker/issues); however, if that doesn't turn up anything,\n> please consult the source [`terraform-providers/terraform-provider-docker` repo](https://github.com/terraform-providers/terraform-provider-docker/issues).", 4935 "typescriptVersion": "" 4936 }, 4937 "python": { 4938 "compatibility": "tfbridge20", 4939 "readme": "> This provider is a derived work of the [Terraform Provider](https://github.com/terraform-providers/terraform-provider-docker)\n> distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature,\n> first check the [`pulumi/pulumi-docker` repo](https://github.com/pulumi/pulumi-docker/issues); however, if that doesn't turn up anything,\n> please consult the source [`terraform-providers/terraform-provider-docker` repo](https://github.com/terraform-providers/terraform-provider-docker/issues).", 4940 "requires": { 4941 "pulumi": ">=3.0.0,<4.0.0" 4942 } 4943 } 4944 }, 4945 "version": "3.1.0" 4946 }