Post

Docker container name

When creating a Docker container, if its name is not specified, docker will randomly generate a name: two words with a underscore, you take it as it is, but how?

There is a namesgenerator package on moby(A.K.A. Docker) project, it uses a list of adjectives for left word and a list of notable scientists and hackers for right word. If the generated combination is used, the new container name will be added with a random number from 0 to 10.

This list was frozen on Feb 11, 2022, because it’s more and more complicated to keep the list inclusive, diverse, and balanced.

Going through the file history, there are some interesting ones:

  • 0f052eb: Remove Valentina Tereshkova after the frozen. She is a Russian engineer, cosmonaut and politician, and voted for the Russian invasion of Ukraine.
  • 4bfd23b: Add Satoshi Nakamoto. This name was used by the unknown person or group of people who developed bitcoin.
  • 7015fc0: Fixed comment spacing for the OCD people.
This post is licensed under CC BY 4.0 by the author.