docker:engine:linux
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
docker:engine:linux [2023/04/01 20:01] – created admin | docker:engine:linux [2024/03/16 18:56] (current) – gsys | ||
---|---|---|---|
Line 15: | Line 15: | ||
==== Manuell ==== | ==== Manuell ==== | ||
- | :!: Tested with Debian 11 | + | :!: Tested with Debian 11: |
< | < | ||
Line 37: | Line 37: | ||
sudo apt update | sudo apt update | ||
sudo apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin | sudo apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin | ||
- | sudo docker version | + | sudo docker |
+ | </ | ||
+ | |||
+ | if gpg error: | ||
+ | < | ||
+ | sudo chmod a+r / | ||
+ | sudo apt update | ||
+ | </ | ||
+ | |||
+ | :!: Tested with Debian 12: | ||
+ | |||
+ | < | ||
+ | for pkg in docker.io docker-doc docker-compose podman-docker containerd runc; do sudo apt-get remove $pkg; done | ||
+ | |||
+ | sudo apt update | ||
+ | sudo apt install ca-certificates curl | ||
+ | |||
+ | # add dockers gpg key | ||
+ | sudo install -m 0755 -d / | ||
+ | sudo curl -fsSL https:// | ||
+ | sudo chmod a+r / | ||
+ | |||
+ | # detect arch and add docker repo | ||
+ | echo \ | ||
+ | "deb [arch=$(dpkg --print-architecture) signed-by=/ | ||
+ | $(. / | ||
+ | sudo tee / | ||
+ | |||
+ | sudo apt update | ||
+ | sudo apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin | ||
+ | sudo docker version && echo && echo && sudo docker compose | ||
</ | </ | ||
Line 49: | Line 79: | ||
=== Rasperry Pi 1 === | === Rasperry Pi 1 === | ||
- | :!: Testet | + | :!: Tested |
< | < | ||
Line 70: | Line 100: | ||
</ | </ | ||
- | if gpg error: | + | '' |
< | < | ||
- | sudo chmod a+r /etc/apt/keyrings/docker.gpg | + | Client: Docker Engine - Community |
- | sudo apt update | + | |
+ | API version: | ||
+ | Go version: | ||
+ | Git commit: | ||
+ | | ||
+ | OS/Arch: linux/arm | ||
+ | | ||
+ | |||
+ | Server: Docker Engine - Community | ||
+ | | ||
+ | Version: | ||
+ | API version: | ||
+ | Go version: | ||
+ | Git commit: | ||
+ | Built: | ||
+ | OS/Arch: linux/arm | ||
+ | Experimental: | ||
+ | | ||
+ | Version: | ||
+ | GitCommit: | ||
+ | | ||
+ | Version: | ||
+ | GitCommit: | ||
+ | docker-init: | ||
+ | Version: | ||
+ | | ||
</ | </ | ||
Line 127: | Line 182: | ||
</ | </ | ||
- | https:// | + | https:// |
+ | |||
+ | ==== Format Stats ==== | ||
+ | < | ||
+ | # sort by memory usage | ||
+ | docker stats --no-stream --format "table {{.Name}}\t{{.Container}}\t{{.CPUPerc}}\t{{.MemUsage}}\t{{.MemPerc}}\t{{.NetIO}}" | ||
+ | </ | ||
+ | https:// | ||
===== Swarm ===== | ===== Swarm ===== | ||
docker/engine/linux.1680372075.txt.gz · Last modified: (external edit)