Docker general info - cayuse/archive2 GitHub Wiki

Docker general info

Things gleaned about Docker that may be generally useful for anyone trying it out. Not in any particular order, though.

Setting things up

Settings in Docker Desktop (Windows 11, maybe others)

It may help to tell Docker Desktop that Ubuntu linux is being used for dockers. Chat GPT told me about this setting: In Docker Desktop → Settings → Resources → WSL Integration, toggle Ubuntu ON.

Docker commands

docker ps

Find which Docker containers are up and running with docker ps or use docker ps --all or docker ps -a to list all containers on your system. docker ps --help shows the options.

docker stop

docker stop <first unique chars of CONTAINER ID> stops that docker.