suggestion to your script: <pre> ~/docker-32bit-ubuntu$ cat ubuntu.tgz | ./docker import --message "Build with https://github.com/docker-32bit/ubuntu" --change 'ENTRYPOINT ["/usr/bin/linux32","sh","-c"]' - 32bit/ubuntu:xenial sha256:acac9916eca1fad229ed19f98861ee8738267e39593d19cd481b59f5da67fd27 ~/docker-32bit-ubuntu$ docker run -ti 32bit/ubuntu:xenial 'uname -a' Linux 60efb58996e4 4.4.0-62-generic #83-Ubuntu SMP Wed Jan 18 14:10:15 UTC 2017 i686 i686 i686 GNU/Linux </pre> requires newer docker version after docker/docker/issues/27789 tested with: <pre> ./docker --version Docker version 17.04.0-dev, build 7fb83eb </pre>
suggestion to your script:
requires newer docker version after moby/moby/issues/27789
tested with: