We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d30a6c0 + 08318b1 commit c32ccdfCopy full SHA for c32ccdf
1 file changed
pkg/cri/server/container_create_linux.go
@@ -161,7 +161,7 @@ func (c *criService) containerSpec(
161
162
// Apply envs from image config first, so that envs from container config
163
// can override them.
164
- env := imageConfig.Env
+ env := append([]string{}, imageConfig.Env...)
165
for _, e := range config.GetEnvs() {
166
env = append(env, e.GetKey()+"="+e.GetValue())
167
}
0 commit comments