Skip to content

Glossary: Docker Basics

--name

A `docker run` option that gives a container a name of your choice instead of a random two-word one. Names must be unique, and on a user-defined network they double as hostnames.

Where the book teaches it

Related terms

docker runDNSNetwork