Skip to content
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

fix[engine]: add info to use bash -i for non posix shells #21790

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix[engine]: add info to use bash -i for non posix shells
  • Loading branch information
AyushSehrawat committed Jan 11, 2025
commit 1f22ebb017cf2259a21c80d969f6de0450b7882e
8 changes: 7 additions & 1 deletion content/manuals/engine/install/debian.md
Original file line number Diff line number Diff line change
@@ -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
@@ -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,
@@ -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" >}}

8 changes: 7 additions & 1 deletion content/manuals/engine/install/raspberry-pi-os.md
Original file line number Diff line number Diff line change
@@ -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
@@ -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 >}}
@@ -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" >}}

8 changes: 7 additions & 1 deletion content/manuals/engine/install/ubuntu.md
Original file line number Diff line number Diff line change
@@ -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
@@ -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,
@@ -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" >}}