Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Commit

Permalink
Update docker setup
Browse files Browse the repository at this point in the history
  • Loading branch information
nicu-da authored Oct 26, 2023
1 parent 20aa988 commit 357bdf6
Showing 1 changed file with 17 additions and 13 deletions.
30 changes: 17 additions & 13 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,26 +30,30 @@ echo "Install httpie"
sudo apt install httpie

echo "Install docker"
sudo apt-get install \
apt-transport-https \
ca-certificates \
curl \
gnupg-agent \
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"
# Add Docker's official GPG key:
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io
sudo apt-get install ca-certificates curl gnupg
sudo install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/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/ubuntu \
"$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
udo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin

sudo usermod -aG docker $USER
newgrp docker
sudo systemctl enable docker
sudo systemctl enable docker.service
sudo systemctl enable containerd.service


sudo apt install python-pygments
sudo apt install net-tools

echo "Install tmux"
sudo apt install tmux
cp .tmux.conf ~/.tmux.conf

0 comments on commit 357bdf6

Please sign in to comment.