Skip to content

Commit

Permalink
docs: add docker install scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
inciner8r committed May 14, 2024
1 parent 9057b96 commit b9996d9
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/docker.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash

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

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt update
sudo apt install -y docker-ce
docker --version
sudo groupadd docker
sudo usermod -aG docker $USER
newgrp docker

0 comments on commit b9996d9

Please sign in to comment.