Skip to content

Install using apt repository doesn't work for fish shell #20285

Open
@AyushSehrawat

Description

@AyushSehrawat

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 :)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions