docker / docker/docs

Install using apt repository doesn't work for fish shell

Open
#20,285 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

lifecycle/frozen lifecycle/stale status/triage
Dominant language
Markdown
Stars
4.7k
Forks
8.5k
Avg merge
2d 18h
Merged PRs (30d)
108

Description

Is this a docs issue?
  • My issue is about the documentation content or website
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 error

image

Location

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 use bash -c in case using other shells

More than happy to make a pr for it :)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the Ubuntu installation documentation section linked in the issue and review the apt repository commands in the context of fish shell syntax. Update the instructions with a fish-compatible path or an explicit bash invocation, then verify that the documented commands work for the affected shell.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, fish
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.