diff options
| author | Christian Breunig <christian@breunig.cc> | 2026-11-07 08:33:57 +0100 |
|---|---|---|
| committer | Christian Breunig <christian@breunig.cc> | 2026-11-07 08:33:57 +0100 |
| commit | 2754d2bfda8210de0295a35794e2ccb4021f0f3e (patch) | |
| tree | bbdf883db2b6b90ae50f26d19528e25e7083b996 /docs | |
| parent | fa906c91925a3784ef958a445408d6f2a69dfd08 (diff) | |
| download | vyos-documentation-2754d2bfda8210de0295a35794e2ccb4021f0f3e.tar.gz vyos-documentation-2754d2bfda8210de0295a35794e2ccb4021f0f3e.zip | |
docs: build-vyos: refer to official Docker install guide
The inlined Docker installation steps go stale with every Docker
release. Link to the upstream Debian installation guide instead.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/contributing/build-vyos.md | 27 |
1 files changed, 3 insertions, 24 deletions
diff --git a/docs/contributing/build-vyos.md b/docs/contributing/build-vyos.md index c5886993..f5b0f511 100644 --- a/docs/contributing/build-vyos.md +++ b/docs/contributing/build-vyos.md @@ -42,30 +42,9 @@ $ git clone -b rolling --single-branch https://github.com/vyos/vyos-build ### Docker -Installing [Docker] and prerequisites: - -:::{hint} -Docker versions are updated frequently. The following examples may -become outdated. -::: - -```none -# Add Docker's official GPG key: -sudo apt-get update -sudo apt-get install ca-certificates curl gnupg -sudo install -m 0755 -d /etc/apt/keyrings -curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg -sudo chmod a+r /etc/apt/keyrings/docker.gpg - -# Add the repository to Apt sources: -echo \ - "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian \ - $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \ - sudo tee /etc/apt/sources.list.d/docker.list > /dev/null - -sudo apt-get update -sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin -``` +Install Docker Engine on your build host by following the official +[Docker installation guide for Debian][docker]. It is kept up to date +with the current Docker packages and repository setup. To use Docker without `sudo`, add your current non-root user to the `docker` group: `sudo usermod -aG docker yourusername`. |
