<!-- If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead. If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information. For more information about reporting issues, see https://github.com/docker/cli/blob/master/CONTRIBUTING.md#reporting-other-issues --------------------------------------------------- GENERAL SUPPORT INFORMATION --------------------------------------------------- The GitHub issue tracker is for bug reports and feature requests. General support can be found at the following locations: - Docker Support Forums - https://forums.docker.com - Docker Community Slack - https://dockr.ly/community - Post a question on StackOverflow, using the Docker tag --------------------------------------------------- BUG REPORT INFORMATION --------------------------------------------------- Use the commands below to provide key information from your environment: You do NOT have to include this information if this is a FEATURE REQUEST --> **Description** I found a bug at zsh completions. Completion fails with `docker exec`. <!-- Briefly describe the problem you are having in a few paragraphs. --> **Steps to reproduce the issue:** - Environment: zsh - Type to `docker exec [TAB]` **Describe the results you received:** - Appeared that; ``` docker exec __docker_container_subcommand:161: command not found: (--help -):containers:__docker_complete_running_containers __docker_container_subcommand:161: command not found: (--help -):containers:__docker_complete_running_containers __docker_container_subcommand:161: command not found: (--help -):containers:__docker_complete_running_containers ``` **Describe the results you expected:** (I want that to work correctly.) **Additional information you deem important (e.g. issue happens only occasionally):** **Output of `docker version`:** ``` Client: Version: 17.09.1-ce API version: 1.32 Go version: go1.8.3 Git commit: 19e2cf6 Built: Thu Dec 7 22:22:25 2017 OS/Arch: darwin/amd64 Server: Version: 17.09.1-ce API version: 1.32 (minimum version 1.12) Go version: go1.8.3 Git commit: 19e2cf6 Built: Thu Dec 7 22:28:28 2017 OS/Arch: linux/amd64 Experimental: true ``` **Output of `docker info`:** No need it. **Additional environment details (AWS, VirtualBox, physical, etc.):**
Activity
Fixed docker#750