From 7ab52b0d4933e96f1edb79a1caa460b1be186633 Mon Sep 17 00:00:00 2001 From: Yan Lin Date: Fri, 7 Nov 2025 18:50:43 +0100 Subject: [PATCH] add container service management commands to readme --- README.md | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 54fdcea..36011f4 100644 --- a/README.md +++ b/README.md @@ -83,16 +83,20 @@ nixos-rebuild build --flake .# ## Service Management (NixOS) ```bash -# Check service status +# Container services +sudo systemctl start/stop/restart podman-.service +sudo systemctl status podman-.service +sudo journalctl -u podman-.service -f # Follow logs +sudo journalctl -u podman-.service -n 100 # Last 100 lines + +# Podman commands +sudo podman ps -a +sudo podman logs -f +sudo podman exec -it bash + +# Other services systemctl status journalctl -u -f - -# Container management -podman ps # Actually podman -podman logs -podman exec -it bash - -# Systemd timers systemctl list-timers ```