概要
graphical ways to manage system services and docker containers
システム・インフラできること
- Containers: live CPU/memory/PIDs, start/stop/restart, logs, inspect, change resource limits in place, open a shell (bash or sh)
- Compose: containers grouped by project; start/stop/restart, up -d, build, pull, down; flags changed compose files
- Docker or Podman, picked automatically (see Podman)
- Services: list, filter, start/stop/restart, follow journalctl logs, edit unit files
計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- 0
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルg-systemctl
A terminal UI for Docker or Podman containers and system services (systemctl on Linux, launchctl on macOS).

Features
- Containers: live CPU/memory/PIDs, start/stop/restart, logs, inspect, change resource limits in place, open a shell (bash or sh)
- Compose: containers grouped by project; start/stop/restart,
up -d, build, pull, down; flags changed compose files - Docker or Podman, picked automatically (see Podman)
- Services: list, filter, start/stop/restart, follow
journalctllogs, edit unit files - Detail page with summary, graphs and live logs
- Keyboard and mouse
Install
Debian / Ubuntu (22.04+ / 12+), use arm64 instead of amd64 for ARM:
curl -LO https://github.com/shakg/g-systemctl/releases/latest/download/g-systemctl-linux-amd64.deb
sudo apt install ./g-systemctl-linux-amd64.deb
Other Linux (glibc 2.34+):
curl -LO https://github.com/shakg/g-systemctl/releases/latest/download/g-systemctl-linux-$(uname -m).tar.gz
tar -xzf g-systemctl-linux-$(uname -m).tar.gz
sudo install -m 755 g-systemctl-*/g-systemctl /usr/local/bin/g-systemctl
macOS:
curl -LO https://github.com/shakg/g-systemctl/releases/latest/download/g-systemctl.rb
brew install ./g-systemctl.rb
From source (CMake 3.14+, C++17 compiler):
git clone https://github.com/shakg/g-systemctl.git
cd g-systemctl && mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release .. && make -j$(nproc)
sudo make install
Usage
g-systemctl # Containers tab, or Services if no container runtime is available
g-systemctl -s # Services tab
g-systemctl -c # Containers tab
g-systemctl --user # User services
g-systemctl -f nginx # Start with a filter
Starting and stopping services needs root; run with sudo or enter the password when asked.
Updates
Release builds check GitHub for a new version once a day and ask before installing it (y update, n not now, s skip this version, d stop checking). g-systemctl --update updates from the terminal. Tarball installs are replaced in place (checksum-verified, sudo if the directory is not writable); .deb installs go through dpkg -i; Homebrew installs are left to Homebrew.
Turn checks off with GSYSTEMCTL_NO_UPDATE=1, --no-update-check (one run), or check=off in ~/.config/g-systemctl/update.
| Key | Action |
|---|---|
| Type | Filter |
Up / Down |
Move |
Enter / Esc |
Open / back |
Alt+s / Alt+Shift+s |
Sort by the next column / reverse (or click a column header) |
Alt+o / Alt+x / Alt+r |
Start / stop / restart (stop and restart ask y/n) |
Alt+t |
Shell in the selected container (bash, else sh) |
Alt+1 / Alt+2 |
Containers / Services tab |
? |
All shortcuts |
Alt+q |
Quit |
Podman
g-systemctl uses docker when its daemon is reachable, otherwise podman. A docker command that is really Podman (podman-docker) is treated as Podman. To choose:
GSYSTEMCTL_RUNTIME=podman g-systemctl # docker | podman | auto (default)
GSYSTEMCTL_DOCKER=/opt/bin/podman g-systemctl # CLI binary
GSYSTEMCTL_COMPOSE=podman-compose g-systemctl # compose command
- Compose uses
podman compose, thenpodman-compose. Withpodman-compose, changed compose files are not flagged: it cannot print config hashes.podman composewith the docker-compose provider can. - Pods' infra containers are hidden.
- Rootless and
sudoPodman keep separate containers. Run g-systemctl the same way you runpodman. - macOS: start the VM first with
podman machine start. - Podman 4.x:
podman updateapplies new limits, butinspectkeeps showing the old ones, and it has no--restart.
Tested in CI against Podman 4.9 (Ubuntu 24.04), rootless and rootful, with both compose commands.
Contributing
See CONTRIBUTING.md.
License
関連プロジェクトを探す
読み込み中…