mirror of https://github.com/docker/cli.git
Merge pull request #73 from vdemeester/stack-deploy-support-readonly
Add support for `read_only` services in stack deploy
This commit is contained in:
commit
c0cbb6580a
|
@ -129,6 +129,7 @@ func convertService(
|
||||||
TTY: service.Tty,
|
TTY: service.Tty,
|
||||||
OpenStdin: service.StdinOpen,
|
OpenStdin: service.StdinOpen,
|
||||||
Secrets: secrets,
|
Secrets: secrets,
|
||||||
|
ReadOnly: service.ReadOnly,
|
||||||
},
|
},
|
||||||
LogDriver: logDriver,
|
LogDriver: logDriver,
|
||||||
Resources: resources,
|
Resources: resources,
|
||||||
|
|
|
@ -18,7 +18,6 @@ var UnsupportedProperties = []string{
|
||||||
"mac_address",
|
"mac_address",
|
||||||
"network_mode",
|
"network_mode",
|
||||||
"privileged",
|
"privileged",
|
||||||
"read_only",
|
|
||||||
"restart",
|
"restart",
|
||||||
"security_opt",
|
"security_opt",
|
||||||
"shm_size",
|
"shm_size",
|
||||||
|
|
Loading…
Reference in New Issue