Expand description
Docker helpers for status listing and compose rebuild.
reference: horto-os/scripts/docker_rebuild.sh
Structs§
- Container
Info - One running container row from
docker ps.
Functions§
- compose_
up - Run
docker compose up -dindir. - docker_
available - Whether
dockeris onPATH. - docker_
rebuild - Rebuild and recreate one compose project in
dir(build --no-cachethenup -d). - list_
containers - List running containers, or an empty list when docker is missing / fails.
- parse_
docker_ ps_ lines - Parse
docker ps --formattab-separated lines intoContainerInforows. - resolve_
stack - Dockge stack id: compose project label, else primary container name.