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:
Vincent Demeester 2017-05-11 15:26:38 +02:00
parent 0791b27e2b
commit 0ab760a136
No known key found for this signature in database
GPG Key ID: 083CC6FD6EB699A3
2 changed files with 1 additions and 1 deletions

View File

@ -129,6 +129,7 @@ func convertService(
TTY: service.Tty,
OpenStdin: service.StdinOpen,
Secrets: secrets,
ReadOnly: service.ReadOnly,
},
LogDriver: logDriver,
Resources: resources,

View File

@ -18,7 +18,6 @@ var UnsupportedProperties = []string{
"mac_address",
"network_mode",
"privileged",
"read_only",
"restart",
"security_opt",
"shm_size",