mirror of https://github.com/docker/cli.git
Add support for `read_only` services in stack deploy
The `read_only` key in a composefile is not taken into account right now. Now that services support `--read-only`, so should `stack deploy` Ref: moby/moby#32994 Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
parent
0791b27e2b
commit
0ab760a136
|
@ -129,6 +129,7 @@ func convertService(
|
|||
TTY: service.Tty,
|
||||
OpenStdin: service.StdinOpen,
|
||||
Secrets: secrets,
|
||||
ReadOnly: service.ReadOnly,
|
||||
},
|
||||
LogDriver: logDriver,
|
||||
Resources: resources,
|
||||
|
|
|
@ -18,7 +18,6 @@ var UnsupportedProperties = []string{
|
|||
"mac_address",
|
||||
"network_mode",
|
||||
"privileged",
|
||||
"read_only",
|
||||
"restart",
|
||||
"security_opt",
|
||||
"shm_size",
|
||||
|
|
Loading…
Reference in New Issue