feat: add Docker setup

This commit is contained in:
dancingCycle 2022-03-17 22:12:22 +01:00
parent 1b81cfc7c3
commit 298d2b3c8c
4 changed files with 67 additions and 5 deletions

View File

@ -6,6 +6,7 @@
* [Create bootable USB Drive For OS Installation](doc/bootable-usb-drive.md)
* [Debian Installation](doc/debian-install.md)
* [Debian Configuration](doc/debian-config.md)
* [Docker](doc/docker.md)
* [Emacs](doc/emacs.md)
* [Email Client](doc/email-client.md)
* [Firewall](doc/firewall.md)

56
doc/docker.md Normal file
View File

@ -0,0 +1,56 @@
# Setup Docker
## General
* update your APT cache using
```
sudo apt update
```
* uninstall old versions
```
sudo apt-get remove docker docker-engine docker.io containerd runc
```
* install basic package dependencies
```
sudo apt install apt-transport-https ca-certificates curl gnupg lsb-release --no-install-recommends
```
* add Docker's official GPG key
```
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
```
* set up the stable repository
```
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
```
* update the package index and install the latest version
```
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io
```
* check whether the service is enabled
```
systemctl is-enabled docker
systemctl is-enabled containerd
```
* check Docker and Containerd service status
```
systemctl status docker containerd
```
* verify Docker version
```
docker -v
```
## Links
[How to Install Docker on Debian 11](https://www.techlear.com/blog/2021/10/01/how-to-install-docker-on-debian-11/)
[How to Install Docker on Debian 11](https://www.rosehosting.com/blog/how-to-install-docker-on-debian-11/)

5
doc/docker.md.license Normal file
View File

@ -0,0 +1,5 @@
/*
* SPDX-FileCopyrightText: 2022 Software Ingenieur Begerad <swingbe.de>
*
* SPDX-License-Identifier: CC0-1.0
*/

View File

@ -1,5 +1,10 @@
# Setup MS Teams
* update your APT cache using
```
sudo apt update
```
* install curl using
```
sudo apt install curl --no-install-recommends
@ -15,11 +20,6 @@ curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/ms-teams stable main" > /etc/apt/sources.list.d/teams.list'
```
* update your APT cache using
```
sudo apt update
```
* install MS Teams using
```
sudo apt install teams --no-install-recommends