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

Make the simple install script work on Debian #493

Closed
dboreham opened this issue Aug 10, 2023 · 3 comments
Closed

Make the simple install script work on Debian #493

dboreham opened this issue Aug 10, 2023 · 3 comments
Assignees

Comments

@dboreham
Copy link
Collaborator

dboreham commented Aug 10, 2023

Example install of docker: https://www.techrepublic.com/article/install-docker-chromeos/

@dboreham dboreham self-assigned this Aug 10, 2023
@dboreham
Copy link
Collaborator Author

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

@dboreham
Copy link
Collaborator Author

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

@dboreham
Copy link
Collaborator Author

Fixed with: #501

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant