Skip to content

Commit

Permalink
fix[engine]: add info to use bash -i for non posix shells
Browse files Browse the repository at this point in the history
  • Loading branch information
AyushSehrawat committed Jan 11, 2025
1 parent 2a11e52 commit 1f22ebb
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 3 deletions.
8 changes: 7 additions & 1 deletion content/manuals/engine/install/debian.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ Run the following command to uninstall all conflicting packages:
$ for pkg in docker.io docker-doc docker-compose podman-docker containerd runc; do sudo apt-get remove $pkg; done
```

> These commands require a POSIX compatible shell like bash.
> For other shells like fish, temporarily run `bash -i`.
`apt-get` might report that you have none of these packages installed.

Images, containers, volumes, and networks stored in `/var/lib/docker/` aren't
Expand Down Expand Up @@ -121,6 +124,9 @@ Docker from the repository.
sudo apt-get update
```

> These commands require a POSIX compatible shell like bash.
> For other shells like fish, temporarily run `bash -i`.
> [!NOTE]
>
> If you use a derivative distribution, such as Kali Linux,
Expand All @@ -144,7 +150,7 @@ Docker from the repository.
```console
$ sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
```
{{< /tab >}}
{{< tab name="Specific version" >}}

Expand Down
8 changes: 7 additions & 1 deletion content/manuals/engine/install/raspberry-pi-os.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ Run the following command to uninstall all conflicting packages:
$ for pkg in docker.io docker-doc docker-compose podman-docker containerd runc; do sudo apt-get remove $pkg; done
```

> These commands require a POSIX compatible shell like bash.
> For other shells like fish, temporarily run `bash -i`.
`apt-get` might report that you have none of these packages installed.

Images, containers, volumes, and networks stored in `/var/lib/docker/` aren't
Expand Down Expand Up @@ -122,6 +125,9 @@ Docker from the repository.
sudo apt-get update
```

> These commands require a POSIX compatible shell like bash.
> For other shells like fish, temporarily run `bash -i`.
2. Install the Docker packages.

{{< tabs >}}
Expand All @@ -132,7 +138,7 @@ Docker from the repository.
```console
$ sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
```

{{< /tab >}}
{{< tab name="Specific version" >}}

Expand Down
8 changes: 7 additions & 1 deletion content/manuals/engine/install/ubuntu.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ Run the following command to uninstall all conflicting packages:
$ for pkg in docker.io docker-doc docker-compose docker-compose-v2 podman-docker containerd runc; do sudo apt-get remove $pkg; done
```

> These commands require a POSIX compatible shell like bash.
> For other shells like fish, temporarily run `bash -i`.
`apt-get` might report that you have none of these packages installed.

Images, containers, volumes, and networks stored in `/var/lib/docker/` aren't
Expand Down Expand Up @@ -132,6 +135,9 @@ Docker from the repository.
sudo apt-get update
```

> These commands require a POSIX compatible shell like bash.
> For other shells like fish, temporarily run `bash -i`.
> [!NOTE]
>
> If you use an Ubuntu derivative distribution, such as Linux Mint,
Expand All @@ -147,7 +153,7 @@ Docker from the repository.
```console
$ sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
```

{{< /tab >}}
{{< tab name="Specific version" >}}

Expand Down

0 comments on commit 1f22ebb

Please sign in to comment.