this line `RUN apt-get -y upgrade` will trigger this error https://github.com/dotcloud/docker/issues/1724 As we build based on ubuntu:latest, I think we can omit the upgrade.