docker-compose build and http_proxy
<p>I want to test ELK.
It works fine
BUt when I want to do a </p>

<pre><code>docker-compose up
</code></pre>

<p>behind a proxy</p>

<pre><code>docker-compose up --no-recreate 
Building kibana
Step 1 : FROM kibana:latest
 ---&gt; 544887fbfa30
Step 2 : RUN apt-get update &amp;&amp; apt-get install -y netcat
 ---&gt; Running in 794342b9d807
</code></pre>

<p>It failed</p>

<pre><code>W: Some index files failed to download. They have been ignored, or old ones used instead.
</code></pre>

<p>Is' OK with </p>

<pre><code>docker build  --build-arg  http_proxy=http://proxy:3128  --build-arg https_proxy=http://proxy:3128 kibana
</code></pre>

<p>But when I redo a  docker-compose up, il tries to re-build, and failed to pass through proxy</p>

<p>Any help ?</p>