docs icon indicating copy to clipboard operation
docs copied to clipboard

Install using apt repository doesn't work for fish shell

Open AyushSehrawat opened this issue 1 year ago • 6 comments

Is this a docs issue?

  • [X] 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 :)

AyushSehrawat avatar Jun 24 '24 16:06 AyushSehrawat