docs
docs copied to clipboard
404 at command-line bash completion script
Problem description
404: Not found
at https://raw.githubusercontent.com/docker/compose/v2.4.1/contrib/completion/bash/docker-compose
Arrived at this link via https://docs.docker.com/compose/completion/#bash
Also, will this work with cli-plugins install?
I'm having this issue as well, the provided Curl command results in a 404 error message being dumped into the target file, which makes the shell login mildly unhappy.
same issue. For workaround, i commited the script from my old Ubuntu 20 LTS to my public repo. It is the version from march 2022. Feel free to use until this issue is fixed:
sudo curl \
-L https://raw.githubusercontent.com/andreasvh-conceto/docker-completion/main/docker-compose \
-o /etc/bash_completion.d/docker-compose
same issue. For workaround, i commited the script from my old Ubuntu 20 LTS to my public repo. It is the version from march 2022. Feel free to use until this issue is fixed:
sudo curl \ -L https://raw.githubusercontent.com/andreasvh-conceto/docker-completion/main/docker-compose \ -o /etc/bash_completion.d/docker-compose
Thanks. You're a life saver!
This is still happening. Now the URL in the cURL script at https://docs.docker.com/compose/completion/#bash is pointing to v2.6.1, but it remains a 404.
Edit: Starting in the >2.0.0-tagged Docker Compose repo, this entire path has disappeared. Compare:
https://github.com/docker/compose/tree/1.29.2 https://github.com/docker/compose/tree/v2.0.0
in 1.29.2, the /contrib/completion/bash/docker-compose file exists, in >2.0.0, the contrib directory is gone. The most-recent version of this file I've been able to locate is thus located here: https://raw.githubusercontent.com/docker/compose/1.29.2/contrib/completion/bash/docker-compose
And now its at v2.7.0 and still a 404
Is there another way to get to this file? How are docs being updated with new version without fixing the 404 issue?
Command-line completion
curl \
-L https://raw.githubusercontent.com/docker/compose/v2.7.0/contrib/completion/bash/docker-compose \
-o /etc/bash_completion.d/docker-compose
404: Not Found
The previous version is gone :|
cat /etc/bash_completion.d/docker-compose ; echo
404: Not Found
Just hit the same issue. Im not sure whether downloading from non-official source is safe.
There hasn't been any activity on this issue for a long time.
If the problem is still relevant, mark the issue as fresh with a /remove-lifecycle stale
comment.
If not, this issue will be closed in 14 days. This helps our maintainers focus on the active issues.
Prevent issues from auto-closing with a /lifecycle frozen
comment.
/lifecycle stale
/remove-lifecycle stale
The documentation appears to have been updated to not mention Bash completion anymore at all. Can anyone else verify?
There hasn't been any activity on this issue for a long time.
If the problem is still relevant, mark the issue as fresh with a /remove-lifecycle stale
comment.
If not, this issue will be closed in 14 days. This helps our maintainers focus on the active issues.
Prevent issues from auto-closing with a /lifecycle frozen
comment.
/lifecycle stale
Closed issues are locked after 30 days of inactivity. This helps our team focus on active issues.
If you have found a problem that seems similar to this, please open a new issue.
/lifecycle locked