Merge component 'cli' from git@github.com:docker/cli master

This commit is contained in:
GordonTheTurtle
2018-01-02 16:41:04 +00:00
3 changed files with 4 additions and 2 deletions

View File

@ -657,6 +657,7 @@ services:
context: ./web
links:
- bar
pid: host
db:
image: db
build:
@ -670,7 +671,7 @@ services:
require.NoError(t, err)
unsupported := GetUnsupportedProperties(configDetails)
assert.Equal(t, []string{"build", "links"}, unsupported)
assert.Equal(t, []string{"build", "links", "pid"}, unsupported)
}
func TestBuildProperties(t *testing.T) {

View File

@ -17,6 +17,7 @@ var UnsupportedProperties = []string{
"links",
"mac_address",
"network_mode",
"pid",
"privileged",
"restart",
"security_opt",

View File

@ -4945,6 +4945,7 @@ _docker() {
secret
service
stack
swarm
system
volume
)
@ -4988,7 +4989,6 @@ _docker() {
start
stats
stop
swarm
tag
top
unpause