Docker Ubuntu 14.04 host, 16.04 image build very slow

I am running Docker on a Ubuntu 14.04 desktop, which I am trying to build an image “FROM ubuntu:16.04”. Within the Dockerfile I am installing some package with the following command:

RUN apt-get update && apt-get install -y openssh-server

The apt-get update appears to run fine, but the downloading of packages to install runs very slowly. Some time long enough to timeout.

I am lost to what the problem could be…
Please help…
Thanks

1 Like