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 &ltCONTAINERID&gt - Control a container directly.

docker exec &ltCONTAINERID&gt - Run a command inside the container.

docker exec -it &ltCONTAINERID&gt bash -l - &quotEnter&quot the container, spawning a bash shell so you can look around.

for c in $(docker ps -a | awk &#39 { print $1 }&#39) do docker start $c 2&gt /dev/nulldone - Start all Docker containers.

docker stats - Shows real time container resource utilisation (cpu, memory, disk &amp network I/O).


Last Author Contributors Versions Last update
Pete None 21 Wed, 16 Apr 2025 10:45:39 +0200