Docker Commands

Date Published: July 11, 2021

Docker Commands

docker ps

lists all running containers

docker exec

executes commands within the containers

so for example, to open a bash console within the container:

docker exec -it <id of container> bash