Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
| ... | ... |
@@ -1251,6 +1251,7 @@ __docker_subcommand() {
|
| 1251 | 1251 |
"($help)--rm[Remove intermediate containers when it exits]" \ |
| 1252 | 1252 |
"($help)--sig-proxy[Proxy all received signals to the process (non-TTY mode only)]" \ |
| 1253 | 1253 |
"($help)--stop-signal=[Signal to kill a container]:signal:_signals" \ |
| 1254 |
+ "($help)--storage-opt=[Set storage driver options per container]:storage options:->storage-opt" \ |
|
| 1254 | 1255 |
"($help -): :__docker_images" \ |
| 1255 | 1256 |
"($help -):command: _command_names -e" \ |
| 1256 | 1257 |
"($help -)*::arguments: _normal" && ret=0 |
| ... | ... |
@@ -1263,6 +1264,14 @@ __docker_subcommand() {
|
| 1263 | 1263 |
__docker_runningcontainers -qS ":" && ret=0 |
| 1264 | 1264 |
fi |
| 1265 | 1265 |
;; |
| 1266 |
+ (storage-opt) |
|
| 1267 |
+ if compset -P "*="; then |
|
| 1268 |
+ _message "value" && ret=0 |
|
| 1269 |
+ else |
|
| 1270 |
+ opts=('size')
|
|
| 1271 |
+ _describe -t filter-opts "storage options" opts -qS "=" && ret=0 |
|
| 1272 |
+ fi |
|
| 1273 |
+ ;; |
|
| 1266 | 1274 |
esac |
| 1267 | 1275 |
|
| 1268 | 1276 |
;; |