Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
(cherry picked from commit fbedc588bec4f6b4669e744450eded9f5e4bf799)
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
| ... | ... |
@@ -978,6 +978,7 @@ __docker_image_subcommand() {
|
| 978 | 978 |
(build) |
| 979 | 979 |
_arguments $(__docker_arguments) \ |
| 980 | 980 |
$opts_help \ |
| 981 |
+ "($help)*--add-host=[Add a custom host-to-IP mapping]:host\:ip mapping: " \ |
|
| 981 | 982 |
"($help)*--build-arg=[Build-time variables]:<varname>=<value>: " \ |
| 982 | 983 |
"($help)*--cache-from=[Images to consider as cache sources]: :__docker_complete_repositories_with_tags" \ |
| 983 | 984 |
"($help -c --cpu-shares)"{-c=,--cpu-shares=}"[CPU shares (relative weight)]:CPU shares:(0 10 100 200 500 800 1000)" \
|