jeudi 26 avril 2018

How to make a Docker environment variable value to get a random id

I am looking to pass an environment variable which should get a random id.

Something like below.

ENV SERVICE_TAG= $uuid

In short, every time I run the container, I should get a random id for this environment variable inside the container.

Can anyone please suggest the way forward?

Thanks and regards, Prasanth.




Aucun commentaire:

Enregistrer un commentaire