Error in python after ‘import tensorflow’: TypeError: __init__() got an unexpected keyword argument ‘syntax’

Several users have reported issues that arise when an older version of protobuf is installed. TensorFlow requires (and uses a copy of) protobuf-3.0.0a4. However it seems to be conflicting with your installed version (perhaps due to how the PYTHONPATH environment variable is configured on your system?). Can you try uninstalling the python-protobuf package if it … Read more

Docker missing layer IDs in output

As mentioned in your issue 20131, this could be the consequence of the new docker 1.10 content addressability migration From the Docker blog post: Starting from v1.10 we completely change the way Docker addresses the image data on disk. Previously, every image and layer used a randomly assigned UUID. In 1.10 we implemented a content … Read more

apt-get update’ returned a non-zero code: 100

Because you have an https sources. Install apt-transport-https before executing update. FROM ubuntu:14.04.4 RUN apt-get update && apt-get install -y apt-transport-https RUN echo ‘deb http://private-repo-1.hortonworks.com/HDP/ubuntu14/2.x/updates/2.4.2.0 HDP main’ >> /etc/apt/sources.list.d/HDP.list RUN echo ‘deb http://private-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/ubuntu14 HDP-UTILS main’ >> /etc/apt/sources.list.d/HDP.list RUN echo ‘deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/azurecore/ trusty main’ >> /etc/apt/sources.list.d/azure-public-trusty.list …. Rest of your Dockerfile.

Missing include “bits/c++config.h” when cross compiling 64 bit program on 32 bit in Ubuntu

Adding this answer partially because it fixed my problem of the same issue and so I can bookmark this question myself. I was able to fix it by doing the following: sudo apt-get install gcc-multilib g++-multilib If you’ve installed a version of gcc / g++ that doesn’t ship by default (such as g++-4.8 on lucid) … Read more

In Docker, apt-get install fails with “Failed to fetch http://archive.ubuntu.com/ … 404 Not Found” errors. Why? How can we get past it?

You have stated that your Dockerfile contains RUN apt-get -y update as its own RUN instruction. However, due to build caching, if all changes to the Dockerfile occur later in the file, when docker build is run, Docker will reuse the intermediate image created the last time RUN apt-get -y update executed instead of running … Read more

Make docker use IPv4 for port binding

As @daniel-t points out in the comment: github.com/docker/docker/issues/2174 is about showing binding only to IPv6 in netstat, but that is not an issue. As that github issues states: When setting up the proxy, Docker requests the loopback address ‘127.0.0.1’, Linux realises this is an address that exists in IPv6 (as ::0) and opens on both … Read more