Docker Names generates semi-random, easy to remember names similar to how docker names its containers. For example,
Or as seen from the docker client container list:
Current Build Status:
Usage is very simple as this module only exports one method:
var dockerNames = ;console;$ angry_nobel
Additionally, per dockers specification they have a "retry" counter that appends a random* number if set to true or a number greater than 0. For example:
console;$ jolly_mclean3console;$ backstabbing_roentgen5
* This uses Math.random which means its not very random. These names should never be used as any sort of unique id. The names are mostly applicable for small lists of ephemeral objects that you want to have easy to remember identifiers for.
This module exports the full docker name lists as two arrays.
// This contains all adjectives i.e. "left words"dockerNamesadjectives = Array'admiring' 'adoring'...;// This contains all surnames to use as "right words"dockerNamessurnames = Array'albattani' 'allen' ...;