# 12 NetBird Kontrollserver: Container, Prozesse, offene Ports, Konfiguration, Platte (2026-10-24T11:19:25Z)
$ docker ps
NAMES               IMAGE                             PORTS
netbird-traefik     traefik:v3.7.14                   0.0.0.0:80->80/tcp, [::]:80->80/tcp, 0.0.0.0:443->443/tcp, [::]:443->443/tcp
netbird-dashboard   netbirdio/dashboard:latest        80/tcp, 443/tcp
netbird-server      netbirdio/netbird-server:latest   0.0.0.0:3478->3478/udp, [::]:3478->3478/udp

$ docker ps -q | wc -l
3

$ ss -tulpn   (nur nicht-lokale Lauscher)
Netid State  Recv-Q Send-Q                    Local Address:Port Peer Address:PortProcess                                
udp   UNCONN 0      0                            198.51.100.20:68        0.0.0.0:*    users:(("dhcpcd",pid=786,fd=3))       
udp   UNCONN 0      0                               0.0.0.0:3478      0.0.0.0:*    users:(("docker-proxy",pid=8392,fd=8))
udp   UNCONN 0      0               [2001:db8:20::1]:546          [::]:*    users:(("dhcpcd",pid=875,fd=3))       
udp   UNCONN 0      0      [fe80::d93e:344f:66dc:e153]%eth0:546          [::]:*    users:(("dhcpcd",pid=760,fd=3))       
udp   UNCONN 0      0                                  [::]:3478         [::]:*    users:(("docker-proxy",pid=8397,fd=8))
tcp   LISTEN 0      4096                            0.0.0.0:443       0.0.0.0:*    users:(("docker-proxy",pid=8506,fd=8))
tcp   LISTEN 0      128                             0.0.0.0:22        0.0.0.0:*    users:(("sshd",pid=1022,fd=6))        
tcp   LISTEN 0      4096                            0.0.0.0:80        0.0.0.0:*    users:(("docker-proxy",pid=8486,fd=8))
tcp   LISTEN 0      4096                               [::]:443          [::]:*    users:(("docker-proxy",pid=8512,fd=8))
tcp   LISTEN 0      128                                [::]:22           [::]:*    users:(("sshd",pid=1022,fd=7))        
tcp   LISTEN 0      4096                               [::]:80           [::]:*    users:(("docker-proxy",pid=8492,fd=8))

$ wc -l docker-compose.yml config.yaml dashboard.env
 123 docker-compose.yml
  35 config.yaml
  16 dashboard.env
 174 total
$ ohne Kommentare und Leerzeilen:
docker-compose.yml 104
config.yaml 28
dashboard.env 12
$ Zeilen von Hand geändert: 0 (alles vom Skript erzeugt, Eingaben: 3 Umgebungsvariablen)

$ docker system df
TYPE            TOTAL     ACTIVE    SIZE      RECLAIMABLE
Images          3         3         772.5MB   0B (0%)
Containers      3         3         266.2kB   0B (0%)
Local Volumes   2         2         58.75MB   0B (0%)
Build Cache     0         0         0B        0B

$ docker image ls
netbirdio/netbird-server:latest 323MB
netbirdio/dashboard:latest 209MB
traefik:v3.7.14 253MB

$ du -sh /var/lib/docker/volumes/nb_netbird_data
57M	/var/lib/docker/volumes/nb_netbird_data
24K	/var/lib/docker/volumes/nb_netbird_traefik_letsencrypt

$ df -h / ; free -m
/dev/sda1        75G  2.6G   70G   4% /
               total        used        free      shared  buff/cache   available
Mem:            3820         665        1482           0        1921        3155
Swap:              0           0           0

## Leerlauf (zwei Peers verbunden, keine Aktionen), docker stats 30 Proben, 11:39:39 bis 11:44:4x UTC
# Leerlauf NetBird-Kontrollserver, 30 Proben alle 10 s, Start 11:39:39
11:39:39 netbird-traefik 40.95MiB / 3.731GiB 0.00%
11:39:39 netbird-dashboard 21.44MiB / 3.731GiB 0.01%
11:39:39 netbird-server 70.66MiB / 3.731GiB 0.00%
11:39:49 netbird-traefik 40.95MiB / 3.731GiB 0.00%
11:39:49 netbird-dashboard 21.44MiB / 3.731GiB 0.02%
11:39:49 netbird-server 70.66MiB / 3.731GiB 0.00%
11:39:59 netbird-traefik 40.95MiB / 3.731GiB 0.00%
11:39:59 netbird-dashboard 21.44MiB / 3.731GiB 0.03%
11:39:59 netbird-server 70.66MiB / 3.731GiB 0.16%
11:40:09 netbird-traefik 40.95MiB / 3.731GiB 0.00%
11:40:09 netbird-dashboard 21.44MiB / 3.731GiB 0.02%
11:40:09 netbird-server 70.66MiB / 3.731GiB 0.00%
11:40:20 netbird-traefik 40.95MiB / 3.731GiB 0.00%
11:40:20 netbird-dashboard 21.44MiB / 3.731GiB 0.02%
11:40:20 netbird-server 70.66MiB / 3.731GiB 0.00%
11:40:30 netbird-traefik 40.95MiB / 3.731GiB 0.00%
11:40:30 netbird-dashboard 21.44MiB / 3.731GiB 0.02%
11:40:30 netbird-server 70.66MiB / 3.731GiB 0.00%
11:40:40 netbird-traefik 40.95MiB / 3.731GiB 0.00%
11:40:40 netbird-dashboard 21.44MiB / 3.731GiB 0.02%
11:40:40 netbird-server 70.66MiB / 3.731GiB 0.00%
11:40:50 netbird-traefik 40.95MiB / 3.731GiB 0.00%
11:40:50 netbird-dashboard 21.44MiB / 3.731GiB 0.02%
11:40:50 netbird-server 70.66MiB / 3.731GiB 0.02%
11:41:00 netbird-traefik 40.95MiB / 3.731GiB 0.00%
11:41:00 netbird-dashboard 21.44MiB / 3.731GiB 0.02%
11:41:00 netbird-server 70.66MiB / 3.731GiB 0.33%
11:41:10 netbird-traefik 40.94MiB / 3.731GiB 0.00%
11:41:10 netbird-dashboard 21.44MiB / 3.731GiB 0.01%
11:41:10 netbird-server 70.66MiB / 3.731GiB 0.00%
11:41:20 netbird-traefik 40.94MiB / 3.731GiB 0.00%
11:41:20 netbird-dashboard 21.44MiB / 3.731GiB 0.02%
11:41:20 netbird-server 70.66MiB / 3.731GiB 0.04%
11:41:30 netbird-traefik 40.94MiB / 3.731GiB 0.05%
11:41:30 netbird-dashboard 21.44MiB / 3.731GiB 0.03%
11:41:30 netbird-server 70.66MiB / 3.731GiB 0.00%
11:41:40 netbird-traefik 40.94MiB / 3.731GiB 0.20%
11:41:40 netbird-dashboard 21.44MiB / 3.731GiB 0.02%
11:41:40 netbird-server 70.66MiB / 3.731GiB 0.00%
11:41:50 netbird-traefik 40.94MiB / 3.731GiB 0.06%
11:41:50 netbird-dashboard 21.44MiB / 3.731GiB 0.02%
11:41:50 netbird-server 70.66MiB / 3.731GiB 0.08%
11:42:01 netbird-traefik 40.94MiB / 3.731GiB 0.00%
11:42:01 netbird-dashboard 21.44MiB / 3.731GiB 0.02%
11:42:01 netbird-server 70.66MiB / 3.731GiB 0.05%
11:42:11 netbird-traefik 40.94MiB / 3.731GiB 0.12%
11:42:11 netbird-dashboard 21.44MiB / 3.731GiB 0.02%
11:42:11 netbird-server 70.66MiB / 3.731GiB 0.00%
11:42:21 netbird-traefik 40.94MiB / 3.731GiB 0.00%
11:42:21 netbird-dashboard 21.44MiB / 3.731GiB 0.01%
11:42:21 netbird-server 70.66MiB / 3.731GiB 0.11%
11:42:31 netbird-traefik 40.94MiB / 3.731GiB 0.00%
11:42:31 netbird-dashboard 21.44MiB / 3.731GiB 0.02%
11:42:31 netbird-server 70.66MiB / 3.731GiB 1.30%
11:42:41 netbird-traefik 40.94MiB / 3.731GiB 0.04%
11:42:41 netbird-dashboard 21.44MiB / 3.731GiB 0.02%
11:42:41 netbird-server 70.66MiB / 3.731GiB 0.06%
11:42:51 netbird-traefik 40.94MiB / 3.731GiB 0.00%
11:42:51 netbird-dashboard 21.44MiB / 3.731GiB 0.01%
11:42:51 netbird-server 70.66MiB / 3.731GiB 0.00%
11:43:01 netbird-traefik 40.94MiB / 3.731GiB 0.19%
11:43:01 netbird-dashboard 21.44MiB / 3.731GiB 0.01%
11:43:01 netbird-server 70.68MiB / 3.731GiB 0.06%
11:43:11 netbird-traefik 40.94MiB / 3.731GiB 0.00%
11:43:11 netbird-dashboard 21.44MiB / 3.731GiB 0.01%
11:43:11 netbird-server 70.68MiB / 3.731GiB 0.00%
11:43:21 netbird-traefik 40.94MiB / 3.731GiB 0.00%
11:43:21 netbird-dashboard 21.44MiB / 3.731GiB 0.02%
11:43:21 netbird-server 70.68MiB / 3.731GiB 0.00%
11:43:31 netbird-traefik 40.94MiB / 3.731GiB 0.00%
11:43:31 netbird-dashboard 21.44MiB / 3.731GiB 0.02%
11:43:31 netbird-server 70.68MiB / 3.731GiB 0.26%
11:43:42 netbird-traefik 40.94MiB / 3.731GiB 0.03%
11:43:42 netbird-dashboard 21.44MiB / 3.731GiB 0.02%
11:43:42 netbird-server 70.68MiB / 3.731GiB 0.00%
11:43:52 netbird-traefik 40.94MiB / 3.731GiB 0.00%
11:43:52 netbird-dashboard 21.44MiB / 3.731GiB 0.02%
11:43:52 netbird-server 70.68MiB / 3.731GiB 0.10%
11:44:02 netbird-traefik 40.94MiB / 3.731GiB 0.00%
11:44:02 netbird-dashboard 21.44MiB / 3.731GiB 0.02%
11:44:02 netbird-server 70.63MiB / 3.731GiB 0.05%
11:44:12 netbird-traefik 40.94MiB / 3.731GiB 0.00%
11:44:12 netbird-dashboard 21.44MiB / 3.731GiB 0.02%
11:44:12 netbird-server 70.63MiB / 3.731GiB 0.00%
11:44:22 netbird-traefik 40.94MiB / 3.731GiB 0.00%
11:44:22 netbird-dashboard 21.44MiB / 3.731GiB 0.02%
11:44:22 netbird-server 70.63MiB / 3.731GiB 0.00%
11:44:32 netbird-traefik 40.94MiB / 3.731GiB 0.00%
11:44:32 netbird-dashboard 21.44MiB / 3.731GiB 0.02%
11:44:32 netbird-server 70.63MiB / 3.731GiB 0.06%
# Ende 11:44:42
               total        used        free      shared  buff/cache   available
Mem:            3820         638        1508           0        1922        3182
Swap:              0           0           0

## Auswertung (Mittel je Container)
netbird-traefik: Mittel 40.9 MiB, max 41.0 MiB, Proben 30
netbird-dashboard: Mittel 21.4 MiB, max 21.4 MiB, Proben 30
netbird-server: Mittel 70.7 MiB, max 70.7 MiB, Proben 30
Summe der Mittel: 133.0 MiB

## Gegenprobe mit derselben Methode wie bei Headscale (RSS laut ps, 11:44:56)
124904 netbird-server
121704 traefik
 6112 nginx
 3352 nginx
 3352 nginx
Summe RSS 253.3 MiB

## Dritte Sicht: cgroup-Speicher je Container (11:45:15), anon = tatsächlich belegter Arbeitsspeicher ohne Dateicache
netbird-server memory.current=126 MiB anon=67 MiB inactive_file=56 MiB
netbird-traefik memory.current=40 MiB anon=39 MiB inactive_file=0 MiB
netbird-dashboard memory.current=21 MiB anon=19 MiB inactive_file=0 MiB
Summe anon: 67 + 39 + 19 = 125 MiB
# Hinweis: ps-RSS zählt gemappte Programmdateien mit (netbird-server und traefik je ~120 MiB), darum höher.

## Nachtrag 12:40:42: während des Labs neue Version erschienen
$ GET /api/instance/version
{"dashboard_available_version":"2.95.0","management_available_version":"0.81.4","management_current_version":"0.81.3","management_update_available":true}

# GitHub: v0.81.4 veröffentlicht 2026-10-24T11:24:02Z. Das Skript pinnt :latest, ein späteres 'docker compose pull' zieht also ungefragt die neue Version.

## Kontoeinstellungen ab Werk (GET /api/accounts mit PAT, ca. 12:09 UTC; aus dem Sitzungsprotokoll übertragen, Server inzwischen gelöscht)
{
  "onboarding": { "onboarding_flow_pending": true, "signup_form_pending": true },
  "settings": {
    "peer_login_expiration_enabled": true,
    "peer_login_expiration": 86400,
    "peer_inactivity_expiration_enabled": false,
    "lazy_connection_enabled": true,
    "regular_users_view_blocked": true
  }
}
# Onboarding danach per PUT /api/accounts/<id> auf false gesetzt (nur damit die Browser-Takes nicht vom Assistenten verdeckt werden).
