forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Lai, Weijian <laiweijian4@huawei.com> Co-committed-by: Lai, Weijian <laiweijian4@huawei.com>
12 lines
664 B
HTML
12 lines
664 B
HTML
<a name="EN-US_TOPIC_0000001948506081"></a><a name="EN-US_TOPIC_0000001948506081"></a>
|
|
|
|
<h1 class="topictitle1">How Do I Configure Environment Variables for an Image?</h1>
|
|
<div id="body8662426"><p id="EN-US_TOPIC_0000001948506081__en-us_topic_0000001846137733_p78211789182">In a Dockerfile, use the ENV instruction to configure environment variables. For details, see <a href="https://docs.docker.com/engine/reference/builder/#env" target="_blank" rel="noopener noreferrer">Dockerfile reference</a>.</p>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="docker-modelarts_0016.html">FAQ</a></div>
|
|
</div>
|
|
</div>
|
|
|