mirror of
https://github.com/docker/compose.git
synced 2025-04-08 17:05:13 +02:00
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>