Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

404 at command-line bash completion script #14617

Closed
thalesbruno opened this issue Apr 26, 2022 · 12 comments
Closed

404 at command-line bash completion script #14617

thalesbruno opened this issue Apr 26, 2022 · 12 comments
Labels
area/compose Relates to docker-compose.yml spec or docker-compose binary lifecycle/locked lifecycle/stale

Comments

@thalesbruno
Copy link

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

@nunesvictor
Copy link

Also, will this work with cli-plugins install?

@davemsh
Copy link

davemsh commented May 24, 2022

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.

@dockertopia dockertopia added the area/compose Relates to docker-compose.yml spec or docker-compose binary label May 24, 2022
@andreasvh-conceto
Copy link

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

@timebotdon
Copy link

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!

@davemsh
Copy link

davemsh commented Jun 27, 2022

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

@isimmons
Copy link

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?

@shakibamoshiri
Copy link

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

@hajdukd
Copy link

hajdukd commented Aug 9, 2022

Just hit the same issue. Im not sure whether downloading from non-official source is safe.

@docker-robott
Copy link
Collaborator

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

@davemsh
Copy link

davemsh commented Jan 3, 2023

/remove-lifecycle stale

The documentation appears to have been updated to not mention Bash completion anymore at all. Can anyone else verify?

@docker-robott
Copy link
Collaborator

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

@docker-robott
Copy link
Collaborator

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

@docker docker locked and limited conversation to collaborators May 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/compose Relates to docker-compose.yml spec or docker-compose binary lifecycle/locked lifecycle/stale
Projects
None yet
Development

No branches or pull requests

10 participants