Make the simple install script work on Debian #493

Closed
opened 2023-08-10 21:06:52 +00:00 by dboreham · 3 comments
Owner
Example install of docker: https://www.techrepublic.com/article/install-docker-chromeos/
Author
Owner

Once apt has updated, install the required dependencies with the command:

sudo apt-get install apt-transport-https ca-certificates curl gnupg2 software-properties-common -y

With the dependencies out of the way, download and install the official Docker GPG key with:

curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -

Add the required fingerprint:

sudo apt-key fingerprint 0EBFCD88

Add the official Docker repository with the command:

sudo add-apt-repository “deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable”

Update apt with the command:

sudo apt-get update

Finally, install Docker with:

sudo apt-get install docker-ce docker-ce-cli containerd.io -y

Next, you need to add your user to the docker group with the command:

sudo usermod -aG docker $USER

Once apt has updated, install the required dependencies with the command: sudo apt-get install apt-transport-https ca-certificates curl gnupg2 software-properties-common -y With the dependencies out of the way, download and install the official Docker GPG key with: curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add - Add the required fingerprint: sudo apt-key fingerprint 0EBFCD88 Add the official Docker repository with the command: sudo add-apt-repository “deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable” Update apt with the command: sudo apt-get update Finally, install Docker with: sudo apt-get install docker-ce docker-ce-cli containerd.io -y Next, you need to add your user to the docker group with the command: sudo usermod -aG docker $USER
Author
Owner

Also:

  • apt install ca-certificates curl gnupg
  • install -m 0755 -d /etc/apt/keyrings
  • curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
  • chmod a+r /etc/apt/keyrings/docker.gpg
  • echo "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \ "$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
  • apt update
  • apt-get install docker-ce docker-ce-cli [containerd.io](http://containerd.io/) docker-buildx-plugin docker-compose-plugin
  • systemctl start docker
Also: - - `apt install ca-certificates curl gnupg` - `install -m 0755 -d /etc/apt/keyrings` - `curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg` - `chmod a+r /etc/apt/keyrings/docker.gpg` - `echo "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \ "$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null` - `apt update` - `apt-get install docker-ce docker-ce-cli [containerd.io](http://containerd.io/) docker-buildx-plugin docker-compose-plugin` - `systemctl start docker`
Author
Owner
Fixed with: https://github.com/cerc-io/stack-orchestrator/pull/501
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cerc-io/stack-orchestrator#493
No description provided.