#!/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
