This plugin adds auto-completion for docker.
To use it add docker
to the plugins array in your zshrc file.
plugins=(... docker)
A copy of the completion script from the docker/cli git repo: https://github.com/docker/cli/blob/master/contrib/completion/zsh/_docker