docker-grafana-graphite
docker-grafana-graphite copied to clipboard
problem building container
When I try and build the container, it hangs during the initial installation of the packages. I have been able to replicate this by running the commands manually in a container. I'm using boot2docker on a Mac with VirtualBox.
Here is where it hangs...
Setting up libgnome2-common (2.32.1-4ubuntu1) ...
Setting up libgnome2-0:amd64 (2.32.1-4ubuntu1) ...
Setting up ca-certificates-java (20130815ubuntu1) ...
Before that I also get a number of errors including
Setting up openjdk-7-jre:amd64 (7u91-2.6.3-0ubuntu0.14.04.1) ...
update-alternatives: using /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/policytool to provide /usr/bin/policytool (policytool) in auto mode
Setting up libatk-wrapper-java (0.30.4-4) ...
Setting up gconf-service-backend (3.2.6-0ubuntu2) ...
Setting up gconf2 (3.2.6-0ubuntu2) ...
update-alternatives: using /usr/bin/gconftool-2 to provide /usr/bin/gconftool (gconftool) in auto mode
(gconftool-2:8906): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
and
Setting up dbus (1.6.18-0ubuntu4.3) ...
invoke-rc.d: policy-rc.d denied execution of start.
thanks in advance
You need to upgrade from docker 1.9 to 1.10 rc. This problem is in 1.9 and AUFS driver. You will also need to upgrade your boot2docker.iso.
Replace your boot2docker iso using
$ docker-machine stop default
$ wget https://github.com/tianon/boot2docker-legacy/releases/download/v1.10.0-rc1/boot2docker.iso -O ~/.docker/machine/machines/default/boot2docker.iso
$ docker-machine start default
Replace docker binary from here https://github.com/docker/docker/releases/tag/v1.10.0-rc1
More info: https://github.com/docker/docker/issues/18180