compose/cli
Christopher Crone 88ba591fc3 Seed random with nanosecond time
It's possible that users will run commands more than once a second.
Thus, seeding the random number generator with the current time in
seconds could produce results like the same container name in subsequent
commands.

Seeding with the current time in nanoseconds reduces the probability of
this.

Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-05-22 10:46:54 +02:00
..
cmd Unit test run help 2020-05-21 20:03:06 +02:00
config Store config dir in CLI context 2020-05-20 15:55:05 +02:00
formatter Add ports convet tests 2020-05-18 12:21:27 +02:00
options Set random container name if not set 2020-05-21 19:28:42 +02:00
v1 Let `make protos` affect host files 2020-05-13 10:44:04 +02:00
main.go Seed random with nanosecond time 2020-05-22 10:46:54 +02:00
main_test.go Appease linter 2020-05-18 15:12:52 +02:00