[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Start container which needs env's



I've an image. When I want to start the image I have to define som env-variables:
How do I have to do this in OpenShift? Can I just add the --env also after the oc-command?


$ docker run --restart=always --name "nodejs" --env MOCK="x" --env BRANDS="x" --env PORT="8888" -d my-image:73



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]