Docker Connect - Bytesized Hosting Wiki

Docker for Bytesized Connect Sometimes you want to finer control over the applications that BCD manages for you. Here are some useful commands. docker ps -a - Lists all docker containers. docker restart/stop/start <CONTAINERID> - Control a container directly. docker exec <CONTAINERID> - Run a command inside the container. docker exec -it <CONTAINERID> bash -l - "Enter" the container, spawning a bash shell so you can look around. for c in $(docker ps -a | awk ' { print $1 }'); do docker start $c 2> /dev/null;done - Start all Docker containers. docker stats - Shows real time container resource utilisation (cpu, memory, disk & network I/O).


Last Author Contributors Versions Last update
Pete None 19 Mon, 06 Jan 2025 07:25:29 +0100