Help Center/ ModelArts/ FAQs/ ModelArts Standard Images/ How Do I Configure Environment Variables for an Image in a Dockerfile?
Updated on 2025-08-28 GMT+08:00

How Do I Configure Environment Variables for an Image in a Dockerfile?

In a Dockerfile, use the ENV instruction to configure environment variables. For details, see Dockerfile reference.