You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Stéphane Cottin (JIRA)" <ji...@apache.org> on 2016/08/19 18:27:20 UTC
[jira] [Created] (MESOS-6057) docker isolator does not overwrite
Dockerfile ENV
Stéphane Cottin created MESOS-6057:
--------------------------------------
Summary: docker isolator does not overwrite Dockerfile ENV
Key: MESOS-6057
URL: https://issues.apache.org/jira/browse/MESOS-6057
Project: Mesos
Issue Type: Bug
Components: containerization
Affects Versions: 1.0.0, 1.0.1, 1.1.0
Reporter: Stéphane Cottin
The docker/runtime isolator does not overwrite env values when a default value is present in the Dockerfile.
Steps to reproduce :
{code}
mesos-execute --master=leader.mesos:5050 --name=test --docker_image=bashell/alpine-bash --env="{\"LC_ALL\": \fr_FR.UTF-8\",\"LC_TEST\": \"fr_FR.UTF-8\"}" --command="env"
{code}
outputs in stdout :
{code}
[...]
LC_ALL=en_US.UTF-8
LC_TEST=fr_FR.UTF-8
[...]
{code}
{{en_US.UTF-8}} is the default value from the dockerfile, see https://hub.docker.com/r/bashell/alpine-bash/~/dockerfile/
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)