close
Skip to content

Bash completion file missing from Docker Desktop for Mac #6343

@sflanker

Description

@sflanker
  • I have tried with the latest version of Docker Desktop
  • I have tried disabling enabled experimental features
  • I have uploaded Diagnostics
  • Diagnostics ID:

Expected behavior

It should be possible/easy to enable bash completion for the docker command that is installed as part of Docker Desktop.

Actual behavior

The Docker app for Mac used to have a bash completion file. As of v4.9.0 this file is no longer preset (although the docker-compose still exists).

Missing file: /Applications/Docker.app/Contents/Resources/etc/docker.bash-completion

This breaks widely circulated instructions like https://gist.github.com/rkuzsma/4f8c1354a9ea67fb3ca915b50e131d1c

Information

  • Is it reproducible? Yes, as far as I can tell. The problem was introduced after a performed a fresh reinstall of Docker Desktop.
  • Is the problem new? Yes. this file used to exist, now it is gone. I'm not sure one version removed the file because I missed some updates.
  • macOS Version: 12.3.1
  • Intel chip or Apple chip: Intel
  • Docker Desktop Version: 4.9.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions