To get Docker completions for the Fish shell, all you need to run is:
docker completion fish > ~/.config/fish/completions/docker.fish
This will not only give you completions for every command, but also completions on containers.
To get Docker completions for the Fish shell, all you need to run is:
docker completion fish > ~/.config/fish/completions/docker.fish
This will not only give you completions for every command, but also completions on containers.