-
Notifications
You must be signed in to change notification settings - Fork 14
/
schema.json
4608 lines (4608 loc) · 258 KB
/
schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"name": "docker",
"description": "A Pulumi package for interacting with Docker in Pulumi programs",
"keywords": [
"pulumi",
"docker"
],
"homepage": "https://pulumi.io",
"license": "Apache-2.0",
"attribution": "This Pulumi package is based on the [`docker` Terraform Provider](https://github.com/kreuzwerker/terraform-provider-docker).",
"repository": "https://github.com/pulumi/pulumi-docker",
"meta": {
"moduleFormat": "(.*)(?:/[^/]*)"
},
"language": {
"csharp": {
"packageReferences": {
"Pulumi": "3.*"
},
"namespaces": {
"docker": "Docker"
},
"compatibility": "tfbridge20",
"respectSchemaVersion": true
},
"go": {
"importBasePath": "github.com/pulumi/pulumi-docker/sdk/v4/go/docker",
"generateResourceContainerTypes": true,
"generateExtraInputTypes": true,
"respectSchemaVersion": true
},
"nodejs": {
"packageDescription": "A Pulumi package for interacting with Docker in Pulumi programs",
"readme": "\u003e This provider is a derived work of the [Terraform Provider](https://github.com/kreuzwerker/terraform-provider-docker)\n\u003e distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature,\n\u003e first check the [`pulumi-docker` repo](https://github.com/pulumi/pulumi-docker/issues); however, if that doesn't turn up anything,\n\u003e please consult the source [`terraform-provider-docker` repo](https://github.com/kreuzwerker/terraform-provider-docker/issues).",
"dependencies": {
"semver": "^5.4.0"
},
"devDependencies": {
"@types/node": "^10.0.0",
"@types/semver": "^5.4.0"
},
"compatibility": "tfbridge20",
"disableUnionOutputTypes": true,
"respectSchemaVersion": true
},
"python": {
"readme": "\u003e This provider is a derived work of the [Terraform Provider](https://github.com/kreuzwerker/terraform-provider-docker)\n\u003e distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature,\n\u003e first check the [`pulumi-docker` repo](https://github.com/pulumi/pulumi-docker/issues); however, if that doesn't turn up anything,\n\u003e please consult the source [`terraform-provider-docker` repo](https://github.com/kreuzwerker/terraform-provider-docker/issues).",
"compatibility": "tfbridge20",
"respectSchemaVersion": true,
"pyproject": {
"enabled": true
}
}
},
"config": {
"variables": {
"caMaterial": {
"type": "string",
"description": "PEM-encoded content of Docker host CA certificate\n"
},
"certMaterial": {
"type": "string",
"description": "PEM-encoded content of Docker client certificate\n"
},
"certPath": {
"type": "string",
"description": "Path to directory with Docker TLS config\n"
},
"host": {
"type": "string",
"description": "The Docker daemon address\n",
"defaultInfo": {
"environment": [
"DOCKER_HOST"
]
}
},
"keyMaterial": {
"type": "string",
"description": "PEM-encoded content of Docker client private key\n"
},
"registryAuth": {
"type": "array",
"items": {
"$ref": "#/types/docker:config/registryAuth:registryAuth"
}
},
"sshOpts": {
"type": "array",
"items": {
"type": "string"
},
"description": "Additional SSH option flags to be appended when using `ssh://` protocol\n"
}
},
"defaults": [
"host"
]
},
"types": {
"docker:config/registryAuth:registryAuth": {
"properties": {
"address": {
"type": "string",
"description": "Address of the registry\n"
},
"authDisabled": {
"type": "boolean"
},
"configFile": {
"type": "string",
"description": "Path to docker json file for registry auth. Defaults to `~/.docker/config.json`. If `DOCKER_CONFIG` is set, the value of `DOCKER_CONFIG` is used as the path. `config_file` has predencen over all other options.\n"
},
"configFileContent": {
"type": "string",
"description": "Plain content of the docker json file for registry auth. `config_file_content` has precedence over username/password.\n"
},
"password": {
"type": "string",
"description": "Password for the registry. Defaults to `DOCKER_REGISTRY_PASS` env variable if set.\n",
"secret": true
},
"username": {
"type": "string",
"description": "Username for the registry. Defaults to `DOCKER_REGISTRY_USER` env variable if set.\n"
}
},
"type": "object",
"required": [
"address"
],
"language": {
"nodejs": {
"requiredInputs": []
}
}
},
"docker:index/ContainerCapabilities:ContainerCapabilities": {
"properties": {
"adds": {
"type": "array",
"items": {
"type": "string"
},
"description": "List of linux capabilities to add.\n",
"willReplaceOnChanges": true
},
"drops": {
"type": "array",
"items": {
"type": "string"
},
"description": "List of linux capabilities to drop.\n",
"willReplaceOnChanges": true
}
},
"type": "object"
},
"docker:index/ContainerDevice:ContainerDevice": {
"properties": {
"containerPath": {
"type": "string",
"description": "The path in the container where the device will be bound.\n",
"willReplaceOnChanges": true
},
"hostPath": {
"type": "string",
"description": "The path on the host where the device is located.\n",
"willReplaceOnChanges": true
},
"permissions": {
"type": "string",
"description": "The cgroup permissions given to the container to access the device. Defaults to `rwm`.\n",
"willReplaceOnChanges": true
}
},
"type": "object",
"required": [
"hostPath"
]
},
"docker:index/ContainerHealthcheck:ContainerHealthcheck": {
"properties": {
"interval": {
"type": "string",
"description": "Time between running the check (ms|s|m|h). Defaults to `0s`.\n"
},
"retries": {
"type": "integer",
"description": "Consecutive failures needed to report unhealthy. Defaults to `0`.\n"
},
"startPeriod": {
"type": "string",
"description": "Start period for the container to initialize before counting retries towards unstable (ms|s|m|h). Defaults to `0s`.\n"
},
"tests": {
"type": "array",
"items": {
"type": "string"
},
"description": "Command to run to check health. For example, to run `curl -f localhost/health` set the command to be `[\"CMD\", \"curl\", \"-f\", \"localhost/health\"]`.\n"
},
"timeout": {
"type": "string",
"description": "Maximum time to allow one check to run (ms|s|m|h). Defaults to `0s`.\n"
}
},
"type": "object",
"required": [
"tests"
]
},
"docker:index/ContainerHost:ContainerHost": {
"properties": {
"host": {
"type": "string",
"description": "Hostname to add\n",
"willReplaceOnChanges": true
},
"ip": {
"type": "string",
"description": "IP address this hostname should resolve to.\n",
"willReplaceOnChanges": true
}
},
"type": "object",
"required": [
"host",
"ip"
]
},
"docker:index/ContainerLabel:ContainerLabel": {
"properties": {
"label": {
"type": "string",
"description": "Name of the label\n",
"willReplaceOnChanges": true
},
"value": {
"type": "string",
"description": "Value of the label\n",
"willReplaceOnChanges": true
}
},
"type": "object",
"required": [
"label",
"value"
]
},
"docker:index/ContainerMount:ContainerMount": {
"properties": {
"bindOptions": {
"$ref": "#/types/docker:index/ContainerMountBindOptions:ContainerMountBindOptions",
"description": "Optional configuration for the bind type.\n"
},
"readOnly": {
"type": "boolean",
"description": "Whether the mount should be read-only.\n"
},
"source": {
"type": "string",
"description": "Mount source (e.g. a volume name, a host path).\n"
},
"target": {
"type": "string",
"description": "Container path\n"
},
"tmpfsOptions": {
"$ref": "#/types/docker:index/ContainerMountTmpfsOptions:ContainerMountTmpfsOptions",
"description": "Optional configuration for the tmpfs type.\n",
"willReplaceOnChanges": true
},
"type": {
"type": "string",
"description": "The mount type\n"
},
"volumeOptions": {
"$ref": "#/types/docker:index/ContainerMountVolumeOptions:ContainerMountVolumeOptions",
"description": "Optional configuration for the volume type.\n"
}
},
"type": "object",
"required": [
"target",
"type"
]
},
"docker:index/ContainerMountBindOptions:ContainerMountBindOptions": {
"properties": {
"propagation": {
"type": "string",
"description": "A propagation mode with the value.\n"
}
},
"type": "object"
},
"docker:index/ContainerMountTmpfsOptions:ContainerMountTmpfsOptions": {
"properties": {
"mode": {
"type": "integer",
"description": "The permission mode for the tmpfs mount in an integer.\n"
},
"sizeBytes": {
"type": "integer",
"description": "The size for the tmpfs mount in bytes.\n"
}
},
"type": "object"
},
"docker:index/ContainerMountVolumeOptions:ContainerMountVolumeOptions": {
"properties": {
"driverName": {
"type": "string",
"description": "Name of the driver to use to create the volume.\n"
},
"driverOptions": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "key/value map of driver specific options.\n"
},
"labels": {
"type": "array",
"items": {
"$ref": "#/types/docker:index/ContainerMountVolumeOptionsLabel:ContainerMountVolumeOptionsLabel"
},
"description": "User-defined key/value metadata.\n"
},
"noCopy": {
"type": "boolean",
"description": "Populate volume with data from the target.\n"
}
},
"type": "object"
},
"docker:index/ContainerMountVolumeOptionsLabel:ContainerMountVolumeOptionsLabel": {
"properties": {
"label": {
"type": "string",
"description": "Name of the label\n",
"willReplaceOnChanges": true
},
"value": {
"type": "string",
"description": "Value of the label\n",
"willReplaceOnChanges": true
}
},
"type": "object",
"required": [
"label",
"value"
]
},
"docker:index/ContainerNetworkData:ContainerNetworkData": {
"properties": {
"gateway": {
"type": "string",
"description": "The network gateway of the container.\n"
},
"globalIpv6Address": {
"type": "string",
"description": "The IPV6 address of the container.\n"
},
"globalIpv6PrefixLength": {
"type": "integer",
"description": "The IPV6 prefix length address of the container.\n"
},
"ipAddress": {
"type": "string",
"description": "The IP address of the container.\n"
},
"ipPrefixLength": {
"type": "integer",
"description": "The IP prefix length of the container.\n"
},
"ipv6Gateway": {
"type": "string",
"description": "The IPV6 gateway of the container.\n"
},
"macAddress": {
"type": "string",
"description": "The MAC address of the container.\n"
},
"networkName": {
"type": "string",
"description": "The name of the network\n"
}
},
"type": "object",
"language": {
"nodejs": {
"requiredOutputs": [
"gateway",
"globalIpv6Address",
"globalIpv6PrefixLength",
"ipAddress",
"ipPrefixLength",
"ipv6Gateway",
"macAddress",
"networkName"
]
}
}
},
"docker:index/ContainerNetworksAdvanced:ContainerNetworksAdvanced": {
"properties": {
"aliases": {
"type": "array",
"items": {
"type": "string"
},
"description": "The network aliases of the container in the specific network.\n",
"willReplaceOnChanges": true
},
"ipv4Address": {
"type": "string",
"description": "The IPV4 address of the container in the specific network.\n",
"willReplaceOnChanges": true
},
"ipv6Address": {
"type": "string",
"description": "The IPV6 address of the container in the specific network.\n",
"willReplaceOnChanges": true
},
"name": {
"type": "string",
"description": "The name or id of the network to use. You can use `name` or `id` attribute from a `docker.Network` resource.\n",
"willReplaceOnChanges": true
}
},
"type": "object",
"required": [
"name"
]
},
"docker:index/ContainerPort:ContainerPort": {
"properties": {
"external": {
"type": "integer",
"description": "Port exposed out of the container. If not given a free random port `\u003e= 32768` will be used.\n",
"willReplaceOnChanges": true
},
"internal": {
"type": "integer",
"description": "Port within the container.\n",
"willReplaceOnChanges": true
},
"ip": {
"type": "string",
"description": "IP address/mask that can access this port. Defaults to `0.0.0.0`.\n",
"willReplaceOnChanges": true
},
"protocol": {
"type": "string",
"description": "Protocol that can be used over this port. Defaults to `tcp`.\n",
"willReplaceOnChanges": true
}
},
"type": "object",
"required": [
"internal"
],
"language": {
"nodejs": {
"requiredOutputs": [
"external",
"internal"
]
}
}
},
"docker:index/ContainerUlimit:ContainerUlimit": {
"properties": {
"hard": {
"type": "integer",
"description": "The hard limit\n",
"willReplaceOnChanges": true
},
"name": {
"type": "string",
"description": "The name of the ulimit\n",
"willReplaceOnChanges": true
},
"soft": {
"type": "integer",
"description": "The soft limit\n",
"willReplaceOnChanges": true
}
},
"type": "object",
"required": [
"hard",
"name",
"soft"
]
},
"docker:index/ContainerUpload:ContainerUpload": {
"properties": {
"content": {
"type": "string",
"description": "Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text. Conflicts with `content_base64` \u0026 `source`\n",
"willReplaceOnChanges": true
},
"contentBase64": {
"type": "string",
"description": "Base64-encoded data that will be decoded and uploaded as raw bytes for the object content. This allows safely uploading non-UTF8 binary data, but is recommended only for larger binary content such as the result of the `base64encode` interpolation function. See here for the reason. Conflicts with `content` \u0026 `source`\n",
"willReplaceOnChanges": true
},
"executable": {
"type": "boolean",
"description": "If `true`, the file will be uploaded with user executable permission. Defaults to `false`.\n",
"willReplaceOnChanges": true
},
"file": {
"type": "string",
"description": "Path to the file in the container where is upload goes to\n",
"willReplaceOnChanges": true
},
"source": {
"type": "string",
"description": "A filename that references a file which will be uploaded as the object content. This allows for large file uploads that do not get stored in state. Conflicts with `content` \u0026 `content_base64`\n",
"willReplaceOnChanges": true
},
"sourceHash": {
"type": "string",
"description": "If using `source`, this will force an update if the file content has updated but the filename has not.\n",
"willReplaceOnChanges": true
}
},
"type": "object",
"required": [
"file"
]
},
"docker:index/ContainerVolume:ContainerVolume": {
"properties": {
"containerPath": {
"type": "string",
"description": "The path in the container where the volume will be mounted.\n",
"willReplaceOnChanges": true
},
"fromContainer": {
"type": "string",
"description": "The container where the volume is coming from.\n",
"willReplaceOnChanges": true
},
"hostPath": {
"type": "string",
"description": "The path on the host where the volume is coming from.\n",
"willReplaceOnChanges": true
},
"readOnly": {
"type": "boolean",
"description": "If `true`, this volume will be readonly. Defaults to `false`.\n",
"willReplaceOnChanges": true
},
"volumeName": {
"type": "string",
"description": "The name of the docker volume which should be mounted.\n",
"willReplaceOnChanges": true
}
},
"type": "object"
},
"docker:index/NetworkIpamConfig:NetworkIpamConfig": {
"properties": {
"auxAddress": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Auxiliary IPv4 or IPv6 addresses used by Network driver\n",
"willReplaceOnChanges": true
},
"gateway": {
"type": "string",
"description": "The IP address of the gateway\n",
"willReplaceOnChanges": true
},
"ipRange": {
"type": "string",
"description": "The ip range in CIDR form\n",
"willReplaceOnChanges": true
},
"subnet": {
"type": "string",
"description": "The subnet in CIDR form\n",
"willReplaceOnChanges": true
}
},
"type": "object"
},
"docker:index/NetworkLabel:NetworkLabel": {
"properties": {
"label": {
"type": "string",
"description": "Name of the label\n",
"willReplaceOnChanges": true
},
"value": {
"type": "string",
"description": "Value of the label\n",
"willReplaceOnChanges": true
}
},
"type": "object",
"required": [
"label",
"value"
]
},
"docker:index/PluginGrantPermission:PluginGrantPermission": {
"properties": {
"name": {
"type": "string",
"description": "The name of the permission\n"
},
"values": {
"type": "array",
"items": {
"type": "string"
},
"description": "The value of the permission\n"
}
},
"type": "object",
"required": [
"name",
"values"
]
},
"docker:index/ProviderRegistryAuth:ProviderRegistryAuth": {
"properties": {
"address": {
"type": "string",
"description": "Address of the registry\n"
},
"authDisabled": {
"type": "boolean"
},
"configFile": {
"type": "string",
"description": "Path to docker json file for registry auth. Defaults to `~/.docker/config.json`. If `DOCKER_CONFIG` is set, the value of `DOCKER_CONFIG` is used as the path. `config_file` has predencen over all other options.\n"
},
"configFileContent": {
"type": "string",
"description": "Plain content of the docker json file for registry auth. `config_file_content` has precedence over username/password.\n"
},
"password": {
"type": "string",
"description": "Password for the registry. Defaults to `DOCKER_REGISTRY_PASS` env variable if set.\n",
"secret": true
},
"username": {
"type": "string",
"description": "Username for the registry. Defaults to `DOCKER_REGISTRY_USER` env variable if set.\n"
}
},
"type": "object",
"required": [
"address"
],
"language": {
"nodejs": {
"requiredOutputs": []
}
}
},
"docker:index/RemoteImageBuild:RemoteImageBuild": {
"properties": {
"authConfigs": {
"type": "array",
"items": {
"$ref": "#/types/docker:index/RemoteImageBuildAuthConfig:RemoteImageBuildAuthConfig"
},
"description": "The configuration for the authentication\n"
},
"buildArg": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Set build-time variables\n",
"willReplaceOnChanges": true
},
"buildArgs": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Pairs for build-time variables in the form TODO\n",
"willReplaceOnChanges": true
},
"buildId": {
"type": "string",
"description": "BuildID is an optional identifier that can be passed together with the build request. The same identifier can be used to gracefully cancel the build with the cancel request.\n",
"willReplaceOnChanges": true
},
"cacheFroms": {
"type": "array",
"items": {
"type": "string"
},
"description": "Images to consider as cache sources\n",
"willReplaceOnChanges": true
},
"cgroupParent": {
"type": "string",
"description": "Optional parent cgroup for the container\n",
"willReplaceOnChanges": true
},
"context": {
"type": "string",
"description": "Value to specify the build context. Currently, only a `PATH` context is supported. You can use the helper function '${path.cwd}/context-dir'. Please see https://docs.docker.com/build/building/context/ for more information about build contexts.\n",
"willReplaceOnChanges": true
},
"cpuPeriod": {
"type": "integer",
"description": "The length of a CPU period in microseconds\n",
"willReplaceOnChanges": true
},
"cpuQuota": {
"type": "integer",
"description": "Microseconds of CPU time that the container can get in a CPU period\n",
"willReplaceOnChanges": true
},
"cpuSetCpus": {
"type": "string",
"description": "CPUs in which to allow execution (e.g., `0-3`, `0`, `1`)\n",
"willReplaceOnChanges": true
},
"cpuSetMems": {
"type": "string",
"description": "MEMs in which to allow execution (`0-3`, `0`, `1`)\n",
"willReplaceOnChanges": true
},
"cpuShares": {
"type": "integer",
"description": "CPU shares (relative weight)\n",
"willReplaceOnChanges": true
},
"dockerfile": {
"type": "string",
"description": "Name of the Dockerfile. Defaults to `Dockerfile`.\n",
"willReplaceOnChanges": true
},
"extraHosts": {
"type": "array",
"items": {
"type": "string"
},
"description": "A list of hostnames/IP mappings to add to the container’s /etc/hosts file. Specified in the form [\"hostname:IP\"]\n",
"willReplaceOnChanges": true
},
"forceRemove": {
"type": "boolean",
"description": "Always remove intermediate containers\n",
"willReplaceOnChanges": true
},
"isolation": {
"type": "string",
"description": "Isolation represents the isolation technology of a container. The supported values are\n",
"willReplaceOnChanges": true
},
"label": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Set metadata for an image\n"
},
"labels": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "User-defined key/value metadata\n",
"willReplaceOnChanges": true
},
"memory": {
"type": "integer",
"description": "Set memory limit for build\n",
"willReplaceOnChanges": true
},
"memorySwap": {
"type": "integer",
"description": "Total memory (memory + swap), -1 to enable unlimited swap\n",
"willReplaceOnChanges": true
},
"networkMode": {
"type": "string",
"description": "Set the networking mode for the RUN instructions during build\n",
"willReplaceOnChanges": true
},
"noCache": {
"type": "boolean",
"description": "Do not use the cache when building the image\n",
"willReplaceOnChanges": true
},
"platform": {
"type": "string",
"description": "Set platform if server is multi-platform capable\n",
"willReplaceOnChanges": true
},
"pullParent": {
"type": "boolean",
"description": "Attempt to pull the image even if an older image exists locally\n",
"willReplaceOnChanges": true
},
"remoteContext": {
"type": "string",
"description": "A Git repository URI or HTTP/HTTPS context URI\n",
"willReplaceOnChanges": true
},
"remove": {
"type": "boolean",
"description": "Remove intermediate containers after a successful build. Defaults to `true`.\n"
},
"securityOpts": {
"type": "array",
"items": {
"type": "string"
},
"description": "The security options\n",
"willReplaceOnChanges": true
},
"sessionId": {
"type": "string",
"description": "Set an ID for the build session\n",
"willReplaceOnChanges": true
},
"shmSize": {
"type": "integer",
"description": "Size of /dev/shm in bytes. The size must be greater than 0\n",
"willReplaceOnChanges": true
},
"squash": {
"type": "boolean",
"description": "If true the new layers are squashed into a new image with a single new layer\n",
"willReplaceOnChanges": true
},
"suppressOutput": {
"type": "boolean",
"description": "Suppress the build output and print image ID on success\n",
"willReplaceOnChanges": true
},
"tags": {
"type": "array",
"items": {
"type": "string"
},
"description": "Name and optionally a tag in the 'name:tag' format\n"
},
"target": {
"type": "string",
"description": "Set the target build stage to build\n",
"willReplaceOnChanges": true
},
"ulimits": {
"type": "array",
"items": {
"$ref": "#/types/docker:index/RemoteImageBuildUlimit:RemoteImageBuildUlimit"
},
"description": "Configuration for ulimits\n"
},
"version": {
"type": "string",
"description": "Version of the underlying builder to use\n",
"willReplaceOnChanges": true
}
},
"type": "object",
"required": [
"context"
]
},
"docker:index/RemoteImageBuildAuthConfig:RemoteImageBuildAuthConfig": {
"properties": {
"auth": {
"type": "string",
"description": "the auth token\n"
},
"email": {
"type": "string",
"description": "the user emal\n"
},
"hostName": {
"type": "string",
"description": "hostname of the registry\n"
},
"identityToken": {
"type": "string",
"description": "the identity token\n"
},
"password": {
"type": "string",
"description": "the registry password\n"
},
"registryToken": {
"type": "string",
"description": "the registry token\n"
},
"serverAddress": {
"type": "string",
"description": "the server address\n"
},
"userName": {
"type": "string",
"description": "the registry user name\n"
}
},
"type": "object",
"required": [
"hostName"
]
},
"docker:index/RemoteImageBuildUlimit:RemoteImageBuildUlimit": {
"properties": {
"hard": {
"type": "integer",
"description": "soft limit\n",
"willReplaceOnChanges": true
},
"name": {
"type": "string",
"description": "type of ulimit, e.g. `nofile`\n",
"willReplaceOnChanges": true
},
"soft": {
"type": "integer",
"description": "hard limit\n",
"willReplaceOnChanges": true
}
},
"type": "object",
"required": [
"hard",
"name",
"soft"
]
},
"docker:index/SecretLabel:SecretLabel": {
"properties": {
"label": {
"type": "string",
"description": "Name of the label\n",
"willReplaceOnChanges": true
},
"value": {
"type": "string",
"description": "Value of the label\n",
"willReplaceOnChanges": true
}
},
"type": "object",
"required": [
"label",
"value"
]
},
"docker:index/ServiceAuth:ServiceAuth": {
"properties": {
"password": {
"type": "string",
"description": "The password\n",
"secret": true,
"willReplaceOnChanges": true
},
"serverAddress": {
"type": "string",
"description": "The address of the server for the authentication\n",
"willReplaceOnChanges": true
},
"username": {
"type": "string",
"description": "The username\n",
"willReplaceOnChanges": true
}
},
"type": "object",
"required": [
"serverAddress"
]
},
"docker:index/ServiceConvergeConfig:ServiceConvergeConfig": {
"properties": {
"delay": {
"type": "string",
"description": "The interval to check if the desired state is reached `(ms|s)`. Defaults to `7s`.\n"
},
"timeout": {
"type": "string",
"description": "The timeout of the service to reach the desired state `(s|m)`. Defaults to `3m`\n"
}
},
"type": "object"
},