@pulumi/docker 4.4.4 → 4.4.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/container.d.ts CHANGED
@@ -148,7 +148,7 @@ export declare class Container extends pulumi.CustomResource {
148
148
  */
149
149
  readonly hostname: pulumi.Output<string>;
150
150
  /**
151
- * Additional hosts to add to the container.
151
+ * Hostname to add
152
152
  */
153
153
  readonly hosts: pulumi.Output<outputs.ContainerHost[] | undefined>;
154
154
  /**
@@ -164,7 +164,7 @@ export declare class Container extends pulumi.CustomResource {
164
164
  */
165
165
  readonly ipcMode: pulumi.Output<string>;
166
166
  /**
167
- * User-defined key/value metadata
167
+ * User-defined key/value metadata.
168
168
  */
169
169
  readonly labels: pulumi.Output<outputs.ContainerLabel[]>;
170
170
  /**
@@ -203,7 +203,7 @@ export declare class Container extends pulumi.CustomResource {
203
203
  */
204
204
  readonly mustRun: pulumi.Output<boolean | undefined>;
205
205
  /**
206
- * The name of the container.
206
+ * The name or id of the network to use. You can use `name` or `id` attribute from a `docker.Network` resource.
207
207
  */
208
208
  readonly name: pulumi.Output<string>;
209
209
  /**
@@ -235,7 +235,7 @@ export declare class Container extends pulumi.CustomResource {
235
235
  */
236
236
  readonly publishAllPorts: pulumi.Output<boolean | undefined>;
237
237
  /**
238
- * If `true`, the container will be started as readonly. Defaults to `false`.
238
+ * Whether the mount should be read-only.
239
239
  */
240
240
  readonly readOnly: pulumi.Output<boolean | undefined>;
241
241
  /**
@@ -434,7 +434,7 @@ export interface ContainerState {
434
434
  */
435
435
  hostname?: pulumi.Input<string>;
436
436
  /**
437
- * Additional hosts to add to the container.
437
+ * Hostname to add
438
438
  */
439
439
  hosts?: pulumi.Input<pulumi.Input<inputs.ContainerHost>[]>;
440
440
  /**
@@ -450,7 +450,7 @@ export interface ContainerState {
450
450
  */
451
451
  ipcMode?: pulumi.Input<string>;
452
452
  /**
453
- * User-defined key/value metadata
453
+ * User-defined key/value metadata.
454
454
  */
455
455
  labels?: pulumi.Input<pulumi.Input<inputs.ContainerLabel>[]>;
456
456
  /**
@@ -489,7 +489,7 @@ export interface ContainerState {
489
489
  */
490
490
  mustRun?: pulumi.Input<boolean>;
491
491
  /**
492
- * The name of the container.
492
+ * The name or id of the network to use. You can use `name` or `id` attribute from a `docker.Network` resource.
493
493
  */
494
494
  name?: pulumi.Input<string>;
495
495
  /**
@@ -521,7 +521,7 @@ export interface ContainerState {
521
521
  */
522
522
  publishAllPorts?: pulumi.Input<boolean>;
523
523
  /**
524
- * If `true`, the container will be started as readonly. Defaults to `false`.
524
+ * Whether the mount should be read-only.
525
525
  */
526
526
  readOnly?: pulumi.Input<boolean>;
527
527
  /**
@@ -700,7 +700,7 @@ export interface ContainerArgs {
700
700
  */
701
701
  hostname?: pulumi.Input<string>;
702
702
  /**
703
- * Additional hosts to add to the container.
703
+ * Hostname to add
704
704
  */
705
705
  hosts?: pulumi.Input<pulumi.Input<inputs.ContainerHost>[]>;
706
706
  /**
@@ -716,7 +716,7 @@ export interface ContainerArgs {
716
716
  */
717
717
  ipcMode?: pulumi.Input<string>;
718
718
  /**
719
- * User-defined key/value metadata
719
+ * User-defined key/value metadata.
720
720
  */
721
721
  labels?: pulumi.Input<pulumi.Input<inputs.ContainerLabel>[]>;
722
722
  /**
@@ -755,7 +755,7 @@ export interface ContainerArgs {
755
755
  */
756
756
  mustRun?: pulumi.Input<boolean>;
757
757
  /**
758
- * The name of the container.
758
+ * The name or id of the network to use. You can use `name` or `id` attribute from a `docker.Network` resource.
759
759
  */
760
760
  name?: pulumi.Input<string>;
761
761
  /**
@@ -783,7 +783,7 @@ export interface ContainerArgs {
783
783
  */
784
784
  publishAllPorts?: pulumi.Input<boolean>;
785
785
  /**
786
- * If `true`, the container will be started as readonly. Defaults to `false`.
786
+ * Whether the mount should be read-only.
787
787
  */
788
788
  readOnly?: pulumi.Input<boolean>;
789
789
  /**
package/image.d.ts CHANGED
@@ -13,8 +13,7 @@ import * as inputs from "./types/input";
13
13
  * even when using `latest` tag. To trigger such updates, e.g. when referencing pushed images in container orchestration
14
14
  * and management resources, please use the `repoDigest` Output instead, which is of the format
15
15
  * `repository@<algorithm>:<hash>` and unique per build/push.
16
- * Note that `repoDigest` is not available for local Images. For a local Image not pushed to a registry, you may want to
17
- * give `imageName` a unique tag per pulumi update.
16
+ * As of Docker v4.4, `repoDigest` is now available for local Images.
18
17
  *
19
18
  * ## Cross-platform builds
20
19
  *
package/image.js CHANGED
@@ -18,8 +18,7 @@ const utilities = require("./utilities");
18
18
  * even when using `latest` tag. To trigger such updates, e.g. when referencing pushed images in container orchestration
19
19
  * and management resources, please use the `repoDigest` Output instead, which is of the format
20
20
  * `repository@<algorithm>:<hash>` and unique per build/push.
21
- * Note that `repoDigest` is not available for local Images. For a local Image not pushed to a registry, you may want to
22
- * give `imageName` a unique tag per pulumi update.
21
+ * As of Docker v4.4, `repoDigest` is now available for local Images.
23
22
  *
24
23
  * ## Cross-platform builds
25
24
  *
package/image.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"image.js","sourceRoot":"","sources":["../image.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8FG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,KAAK,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;Y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,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;aAAM;YACH,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,SAAS,GAAG,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,oBAAoB,EAAE,CAAC,EAAE,CAAC;QAChE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QAC5C,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;;AA7FL,sBA8FC;AAjFG,gBAAgB;AACO,kBAAY,GAAG,0BAA0B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/docker",
3
- "version": "v4.4.4",
3
+ "version": "v4.4.5",
4
4
  "description": "A Pulumi package for interacting with Docker in Pulumi programs",
5
5
  "keywords": [
6
6
  "pulumi",
package/plugin.d.ts CHANGED
@@ -79,7 +79,7 @@ export declare class Plugin extends pulumi.CustomResource {
79
79
  */
80
80
  readonly grantPermissions: pulumi.Output<outputs.PluginGrantPermission[] | undefined>;
81
81
  /**
82
- * Docker Plugin name
82
+ * The name of the permission
83
83
  */
84
84
  readonly name: pulumi.Output<string>;
85
85
  /**
@@ -132,7 +132,7 @@ export interface PluginState {
132
132
  */
133
133
  grantPermissions?: pulumi.Input<pulumi.Input<inputs.PluginGrantPermission>[]>;
134
134
  /**
135
- * Docker Plugin name
135
+ * The name of the permission
136
136
  */
137
137
  name?: pulumi.Input<string>;
138
138
  /**
@@ -177,7 +177,7 @@ export interface PluginArgs {
177
177
  */
178
178
  grantPermissions?: pulumi.Input<pulumi.Input<inputs.PluginGrantPermission>[]>;
179
179
  /**
180
- * Docker Plugin name
180
+ * The name of the permission
181
181
  */
182
182
  name?: pulumi.Input<string>;
183
183
  }
package/remoteImage.d.ts CHANGED
@@ -57,7 +57,7 @@ export declare class RemoteImage extends pulumi.CustomResource {
57
57
  */
58
58
  readonly build: pulumi.Output<outputs.RemoteImageBuild | undefined>;
59
59
  /**
60
- * If true, then the image is removed forcibly when the resource is destroyed.
60
+ * Always remove intermediate containers
61
61
  */
62
62
  readonly forceRemove: pulumi.Output<boolean | undefined>;
63
63
  /**
@@ -69,11 +69,11 @@ export declare class RemoteImage extends pulumi.CustomResource {
69
69
  */
70
70
  readonly keepLocally: pulumi.Output<boolean | undefined>;
71
71
  /**
72
- * The name of the Docker image, including any tags or SHA256 repo digests.
72
+ * type of ulimit, e.g. `nofile`
73
73
  */
74
74
  readonly name: pulumi.Output<string>;
75
75
  /**
76
- * The platform to use when pulling the image. Defaults to the platform of the current machine.
76
+ * Set platform if server is multi-platform capable
77
77
  */
78
78
  readonly platform: pulumi.Output<string | undefined>;
79
79
  /**
@@ -108,7 +108,7 @@ export interface RemoteImageState {
108
108
  */
109
109
  build?: pulumi.Input<inputs.RemoteImageBuild>;
110
110
  /**
111
- * If true, then the image is removed forcibly when the resource is destroyed.
111
+ * Always remove intermediate containers
112
112
  */
113
113
  forceRemove?: pulumi.Input<boolean>;
114
114
  /**
@@ -120,11 +120,11 @@ export interface RemoteImageState {
120
120
  */
121
121
  keepLocally?: pulumi.Input<boolean>;
122
122
  /**
123
- * The name of the Docker image, including any tags or SHA256 repo digests.
123
+ * type of ulimit, e.g. `nofile`
124
124
  */
125
125
  name?: pulumi.Input<string>;
126
126
  /**
127
- * The platform to use when pulling the image. Defaults to the platform of the current machine.
127
+ * Set platform if server is multi-platform capable
128
128
  */
129
129
  platform?: pulumi.Input<string>;
130
130
  /**
@@ -151,7 +151,7 @@ export interface RemoteImageArgs {
151
151
  */
152
152
  build?: pulumi.Input<inputs.RemoteImageBuild>;
153
153
  /**
154
- * If true, then the image is removed forcibly when the resource is destroyed.
154
+ * Always remove intermediate containers
155
155
  */
156
156
  forceRemove?: pulumi.Input<boolean>;
157
157
  /**
@@ -159,11 +159,11 @@ export interface RemoteImageArgs {
159
159
  */
160
160
  keepLocally?: pulumi.Input<boolean>;
161
161
  /**
162
- * The name of the Docker image, including any tags or SHA256 repo digests.
162
+ * type of ulimit, e.g. `nofile`
163
163
  */
164
164
  name: pulumi.Input<string>;
165
165
  /**
166
- * The platform to use when pulling the image. Defaults to the platform of the current machine.
166
+ * Set platform if server is multi-platform capable
167
167
  */
168
168
  platform?: pulumi.Input<string>;
169
169
  /**
package/service.d.ts CHANGED
@@ -69,11 +69,11 @@ export declare class Service extends pulumi.CustomResource {
69
69
  */
70
70
  readonly labels: pulumi.Output<outputs.ServiceLabel[]>;
71
71
  /**
72
- * Scheduling mode for the service
72
+ * The mode of resolution to use for internal load balancing between tasks
73
73
  */
74
74
  readonly mode: pulumi.Output<outputs.ServiceMode>;
75
75
  /**
76
- * Name of the service
76
+ * A random name for the port
77
77
  */
78
78
  readonly name: pulumi.Output<string>;
79
79
  /**
@@ -118,11 +118,11 @@ export interface ServiceState {
118
118
  */
119
119
  labels?: pulumi.Input<pulumi.Input<inputs.ServiceLabel>[]>;
120
120
  /**
121
- * Scheduling mode for the service
121
+ * The mode of resolution to use for internal load balancing between tasks
122
122
  */
123
123
  mode?: pulumi.Input<inputs.ServiceMode>;
124
124
  /**
125
- * Name of the service
125
+ * A random name for the port
126
126
  */
127
127
  name?: pulumi.Input<string>;
128
128
  /**
@@ -159,11 +159,11 @@ export interface ServiceArgs {
159
159
  */
160
160
  labels?: pulumi.Input<pulumi.Input<inputs.ServiceLabel>[]>;
161
161
  /**
162
- * Scheduling mode for the service
162
+ * The mode of resolution to use for internal load balancing between tasks
163
163
  */
164
164
  mode?: pulumi.Input<inputs.ServiceMode>;
165
165
  /**
166
- * Name of the service
166
+ * A random name for the port
167
167
  */
168
168
  name?: pulumi.Input<string>;
169
169
  /**