Getting started, topic 11 of 41
Using ready-made images
Before writing your own image, use other people's. A database for a project is one command: docker run -d -e POSTGRES_PASSWORD=dev -p 5432:5432 postgres:17. So is a tool you need once, such as a different version of a language or a CLI, run with --rm and thrown away after.
Prefer Docker Official Images and images from verified publishers, and read an image's page for the variables and volumes it expects.
On Opsfolk
Nothing of ours for this topic yet: an article is on its way.
Elsewhere
- Docker HubOfficial
- Trusted content on Docker HubOfficial