I'm migrating from Ubuntu to MacOS with my MacBook Pro (M2). I'm using ohmyzsh with the docker and docker-compose plugin. Docker has been installed with Docker Desktop setup.
All works fine except the autocompletion for the container names. If I type docker start
and ⮕Tab it just shows me the files of my current directory, but not the list of available containers.
I'm expecting the autosuggestion to work here and show me a list of all containers which could be started. This worked fine within Ubuntu.
I'd rather not run docker virtually or have to shell in to an already running container to get this functionality.
Is there a trick which I could use so the macOS command line has more completion options with zsh and docker for Mac?
docker start xyz
.