-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
Install using apt repository doesn't work for fish shell #20285
Comments
@thaJeztah you're a fish user right? |
I am; also enough of a Fish user to know that it's not very compatible with POSIX shells, and I usually don't expect such examples to be working without some changes 😅 I didn't try this one on Fish though, as my remote Linux machines tend to be a vanilla install without custom shell. Not sure we should add a "bash -c" around the whole command to make it work with an incompatible shell (not sure if there's a good solution for this line that would work for both though) we should document our conventions for examples to expect a posix(y) shells though. |
Yeah Bash and fish syntax doesn't always work. How about just a mention to use
|
@thaJeztah how about a notice like this? https://cockpit-project.org/running.html#ubuntu I was browsing through this project and found it. Something similar in documentation will be nice |
There hasn't been any activity on this issue for a long time. Prevent issues from auto-closing with a /lifecycle stale |
/remove-lifecycle stale |
There hasn't been any activity on this issue for a long time. Prevent issues from auto-closing with a /lifecycle stale |
/remove-lifecycle stale |
Is this a docs issue?
Type of issue
Other
Description
The
[Install using the apt repository](https://docs.docker.com/engine/install/ubuntu/#install-using-the-repository)
section in documentations shows the commands to add docker repository to apt. Issue is that fish shell doesn't support$(...)
syntax and gives errorLocation
https://docs.docker.com/engine/install/ubuntu/
Suggestion
This can be solved by adding other shell tabs like for fish or bash can be forced to run on that single line using
bash -c
or just a mention to usebash -c
in case using other shellsMore than happy to make a pr for it :)
The text was updated successfully, but these errors were encountered: