You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bgrant0607 edited this page Nov 24, 2014
·
16 revisions
Use of environment variables on the command line
As discussed in Docker's documentation, the container's command is not necessarily executed in a shell, in which case environment variables are not expanded in command-line arguments. In particular, non-default commands are specified via Kubernetes's API using the array form of Docker's Cmd argument, which causes the command to be execed directly. You can cause environment variables to be evaluated by simply making your command a shell, with your application's command line as its argument. For example:
For more recent versions of Kubernetes, create the registry service with a PortalIP address of your choice within the portal IP range, and use that IP address for the registry name