Skip to content

Commit a0d3b94

Browse files
ndeloofglours
authored andcommitted
introduce use_api_socket to align with docker/cli#5858
Signed-off-by: Nicolas De Loof <[email protected]>
1 parent 8792426 commit a0d3b94

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

schema/compose-spec.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -739,6 +739,10 @@
739739
"$ref": "#/definitions/ulimits",
740740
"description": "Override the default ulimits for a container."
741741
},
742+
"use_api_socket": {
743+
"type": "boolean",
744+
"description": "Bind mount Docker API socket and required auth."
745+
},
742746
"user": {
743747
"type": "string",
744748
"description": "Username or UID to run the container process as."

types/derived.gen.go

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

types/types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ type ServiceConfig struct {
129129
Tmpfs StringList `yaml:"tmpfs,omitempty" json:"tmpfs,omitempty"`
130130
Tty bool `yaml:"tty,omitempty" json:"tty,omitempty"`
131131
Ulimits map[string]*UlimitsConfig `yaml:"ulimits,omitempty" json:"ulimits,omitempty"`
132+
UseAPISocket bool `yaml:"use_api_socket,omitempty" json:"use_api_socket,omitempty"`
132133
User string `yaml:"user,omitempty" json:"user,omitempty"`
133134
UserNSMode string `yaml:"userns_mode,omitempty" json:"userns_mode,omitempty"`
134135
Uts string `yaml:"uts,omitempty" json:"uts,omitempty"`

0 commit comments

Comments
 (0)