title: standard_init_linux.go:178: exec user process caused "exec format error"
body: <p>docker started throwing this error:</p>
  
  <blockquote>
    <p>standard_init_linux.go:178: exec user process caused "exec format error"</p>
  </blockquote>
  
  <p>whenever I run a specific docker container with CMD or ENTRYPOINT, with no regard to any changes to the file other then removing CMD or ENTRYPOINT. here is the docker file I have been working with which worked perfectly until about an hour ago:</p>
  
  <pre><code>FROM buildpack-deps:jessie
  
  ENV PATH /usr/local/bin:$PATH
  
  ENV LANG C.UTF-8
  
  RUN apt-get update &amp;&amp; apt-get install -y --no-install-recommends \
          tcl \
          tk \
      &amp;&amp; rm -rf /var/lib/apt/lists/*
  
  ENV GPG_KEY 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D
  ENV PYTHON_VERSION 3.6.0
  
  ENV PYTHON_PIP_VERSION 9.0.1
  
  RUN set -ex \
      &amp;&amp; buildDeps=' \
          tcl-dev \
          tk-dev \
      ' \
      &amp;&amp; apt-get update &amp;&amp; apt-get install -y $buildDeps --no-install-recommends &amp;&amp; rm -rf /var/lib/apt/lists/* \
      \
      &amp;&amp; wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz" \
      &amp;&amp; wget -O python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc" \
      &amp;&amp; export GNUPGHOME="$(mktemp -d)" \
      &amp;&amp; gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$GPG_KEY" \
      &amp;&amp; gpg --batch --verify python.tar.xz.asc python.tar.xz \
      &amp;&amp; rm -r "$GNUPGHOME" python.tar.xz.asc \
      &amp;&amp; mkdir -p /usr/src/python \
      &amp;&amp; tar -xJC /usr/src/python --strip-components=1 -f python.tar.xz \
      &amp;&amp; rm python.tar.xz \
      \
      &amp;&amp; cd /usr/src/python \
      &amp;&amp; ./configure \
          --enable-loadable-sqlite-extensions \
          --enable-shared \
      &amp;&amp; make -j$(nproc) \
      &amp;&amp; make install \
      &amp;&amp; ldconfig \
      \
      &amp;&amp; if [ ! -e /usr/local/bin/pip3 ]; then : \
          &amp;&amp; wget -O /tmp/get-pip.py 'https://bootstrap.pypa.io/get-pip.py' \
          &amp;&amp; python3 /tmp/get-pip.py "pip==$PYTHON_PIP_VERSION" \
          &amp;&amp; rm /tmp/get-pip.py \
      ; fi \
      &amp;&amp; pip3 install --no-cache-dir --upgrade --force-reinstall "pip==$PYTHON_PIP_VERSION" \
      &amp;&amp; [ "$(pip list |tac|tac| awk -F '[ ()]+' '$1 == "pip" { print $2; exit }')" = "$PYTHON_PIP_VERSION" ] \
      \
      &amp;&amp; find /usr/local -depth \
          \( \
              \( -type d -a -name test -o -name tests \) \
              -o \
              \( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
          \) -exec rm -rf '{}' + \
      &amp;&amp; apt-get purge -y --auto-remove $buildDeps \
      &amp;&amp; rm -rf /usr/src/python ~/.cache
  
  RUN cd /usr/local/bin \
      &amp;&amp; { [ -e easy_install ] || ln -s easy_install-* easy_install; } \
      &amp;&amp; ln -s idle3 idle \
      &amp;&amp; ln -s pydoc3 pydoc \
      &amp;&amp; ln -s python3 python \
      &amp;&amp; ln -s python3-config python-config
  
  RUN pip install uwsgi
  
  RUN mkdir /config
  
  RUN mkdir /logs
  
  ENV HOME /var/www
  
  WORKDIR /config
  
  ADD conf/requirements.txt /config
  
  RUN pip install -r /config/requirements.txt
  
  ADD conf/wsgi.py /config
  
  ADD conf/wsgi.ini /config
  
  ADD conf/__init__.py /config
  
  ADD start.sh /bin/start.sh
  
  RUN chmod +x /bin/start.sh
  
  EXPOSE 8000
  
  ENTRYPOINT ["start.sh", "uwsgi", "--ini", "wsgi.ini"]
  </code></pre>