Files
App/scripts/docker/htop.sh
HiepLM 9776e29d7d
Some checks failed
Test / test (push) Has been cancelled
final TESTING
2026-06-13 14:11:42 +07:00

15 lines
389 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
# shellcheck source=../lib/common.sh
source "$(dirname "$0")/../lib/common.sh"
# shellcheck source=../lib/docker.sh
source "$(dirname "$0")/../lib/docker.sh"
require_container "$LM_CONTAINER"
echo "Giới hạn container:"
print_container_limits "$LM_CONTAINER"
echo
echo "htop (q để thoát)..."
exec "${DOCKER[@]}" exec -it "$LM_CONTAINER" htop