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
dochemlock None 5 Tue, 09 Mar 2021 15:39:38 +0100