Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
| ... | ... |
@@ -1685,6 +1685,9 @@ __docker_service_subcommand() {
|
| 1685 | 1685 |
$opts_help \ |
| 1686 | 1686 |
$opts_create_update \ |
| 1687 | 1687 |
"($help)*--container-label=[Container labels]:label: " \ |
| 1688 |
+ "($help)*--dns=[Set custom DNS servers]:DNS: " \ |
|
| 1689 |
+ "($help)*--dns-option=[Set DNS options]:DNS option: " \ |
|
| 1690 |
+ "($help)*--dns-search=[Set custom DNS search domains]:DNS search: " \ |
|
| 1688 | 1691 |
"($help)*--env-file=[Read environment variables from a file]:environment file:_files" \ |
| 1689 | 1692 |
"($help)--hostname=[Service containers hostname]:hostname: " \ |
| 1690 | 1693 |
"($help)--mode=[Service Mode]:mode:(global replicated)" \ |
| ... | ... |
@@ -1752,6 +1755,12 @@ __docker_service_subcommand() {
|
| 1752 | 1752 |
"($help)--arg=[Service command args]:arguments: _normal" \ |
| 1753 | 1753 |
"($help)*--container-label-add=[Add or update container labels]:label: " \ |
| 1754 | 1754 |
"($help)*--container-label-rm=[Remove a container label by its key]:label: " \ |
| 1755 |
+ "($help)*--dns-add=[Add or update custom DNS servers]:DNS: " \ |
|
| 1756 |
+ "($help)*--dns-rm=[Remove custom DNS servers]:DNS: " \ |
|
| 1757 |
+ "($help)*--dns-option-add=[Add or update DNS options]:DNS option: " \ |
|
| 1758 |
+ "($help)*--dns-option-rm=[Remove DNS options]:DNS option: " \ |
|
| 1759 |
+ "($help)*--dns-search-add=[Add or update custom DNS search domains]:DNS search: " \ |
|
| 1760 |
+ "($help)*--dns-search-rm=[Remove DNS search domains]:DNS search: " \ |
|
| 1755 | 1761 |
"($help)--force[Force update]" \ |
| 1756 | 1762 |
"($help)*--group-add=[Add additional supplementary user groups to the container]:group:_groups" \ |
| 1757 | 1763 |
"($help)*--group-rm=[Remove previously added supplementary user groups from the container]:group:_groups" \ |