Skip to content
Closed
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
16 changes: 16 additions & 0 deletions content/manuals/engine/install/debian.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,13 +116,29 @@
sudo chmod a+r /etc/apt/keyrings/docker.asc

# Add the repository to Apt sources:
# Debian 12 and newer
cat << EOF | sudo tee -a /etc/apt/sources.list.d/docker.sources
Types: deb
URIs: https://download.docker.com/linux/debian
Suites: $(. /etc/os-release && echo "$VERSION_CODENAME")
Components: stable
Architectures: $(dpkg --print-architecture)
Signed-By: /etc/apt/keyrings/docker.asc
EOF

# Older versions of Debian
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] {{% param "download-url-base" %}} \
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
```

> [!NOTE]
> Debain 12 and new supports APT sources files in the `/etc/apt/sources.list.d/` directory.

Check failure on line 138 in content/manuals/engine/install/debian.md

View workflow job for this annotation

GitHub Actions / validate (vale)

[vale] reported by reviewdog 🐶 [Vale.Spelling] Did you really mean 'Debain'? Raw Output: {"message": "[Vale.Spelling] Did you really mean 'Debain'?", "location": {"path": "content/manuals/engine/install/debian.md", "range": {"start": {"line": 138, "column": 6}}}, "severity": "ERROR"}
> This is preferred over adding entries to the main `/etc/apt/sources.list` file.
> [Debian Documentation](APT sources files)

> [!NOTE]
>
> If you use a derivative distribution, such as Kali Linux,
Expand Down
Loading