Images are immutable templates. Containers are running (or stopped) instances of those images. Most of your daily Docker work is pulling images, starting containers with the right flags, and cleaning up leftovers.
Search and pull
docker search ubuntu
docker pull ubuntu
docker images
Official images on Docker Hub are marked in search results. Prefer pinned tags (ubuntu:24.04) over latest in anything automated.
Run a one-shot smoke test
docker run --rm hello-world
--rm deletes the container filesystem when the process exits — ideal for tests.
Interactive shell in Ubuntu
docker run -it --name studio-ubuntu ubuntu bash
Inside the container you are usually root for that namespace: