You know how docker containers get a random name assigned when you don't specify one yourself? Names are randomly generated and look like "inspiring_pike" or "competent_darwin".

Turns out there's a special check in the code that prevents it from ever generating the name "boring_wozniak" 😄

github.com/moby/moby/blob/mast

Follow

@ekvin @fribbledom this has got to be one of the very few times I’ve seen goto used in a golang code base.

Sign in to participate in the conversation
Fosstodon

Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.