Open cjk87927 opened 7 years ago
@cjk87927 In the future, could you open these issues in the docker/docker repository? We keep all issues tracked on that repo.
I believe we do not support env variable substitution. Any reason why we're not doing that, @dnephin?
/cc @aaronlehmann
Duplicate of https://github.com/docker/docker/issues/29133
env variable substitution is support. Reading a default .env
file is not.
I have a docker-swarm.yml file like
And I have .evn file in the same directory like :
I deploy it use:
docker stack deploy --compose-file docker-swarm.yml web
and inspect:the Hosts not replaced
I enter the container and cat /etc/hosts
Docker version 1.13.1