Hey!
I’m sorry you had to struggle with this, we need to make the widget more obvious.
As @edouard explained, the environment variables are set both as runtime environment variables (docker run -e ...
) and as build arguments (docker build --build-arg ...
).
Regarding the other settings:
Command
is a string, which corresponds to the first entry of a Dockerfile’sCMD
Args
is an array of strings containing the following entries ofCMD
.
So, for a Dockerfile with CMD ["nginx", "-g", "daemon off;"]
, you would need to set Command
to nginx
, and Args
to ["-g", "daemon off;"]
.