While following the systemd guide I ran into an issue with this example configuration:[Unit]Description=MyAppAfter=docker.serviceRequires=docker.service[Service]TimeoutStartSec=0ExecStartPre=-/usr/bin/docker kill busybox1ExecStartPre=-/usr/bin/docker rm busybox1ExecStartPre=/usr/bin/docker pull busyboxExecStart=/usr/bin/docker run --name busybox1 busybox /bin/sh -c while true; do echo Hello World; sleep 1; done[Install]WantedBy=multi-user.targetIf I run systemctl start hello while the system is running the docker will boot, but if I enable hello.service to boot on start through systemd and reboot the machine I receive this error:-- Reboot --Mar 15 01:17:44 general systemd[1]: Starting MyApp...Mar 15 01:17:47 general docker[510]: Error response from daemon: No such container: busybox1Mar 15 01:17:47 general docker[510]: time=2015-03-15T01:17:47Z level=fatal msg=Error: failed to kill one or more containersMar 15 01:17:47 general docker[637]: Error response from daemon: No such container: busybox1Mar 15 01:17:47 general docker[637]: time=2015-03-15T01:17:47Z level=fatal msg=Error: failed to remove one or more containersMar 15 01:17:47 general systemd[1]: hello.service: control process exited, code=exited status=1Mar 15 01:17:47 general systemd[1]: Failed to start MyApp.Mar 15 01:17:47 general systemd[1]: Unit hello.service entered failed state.Mar 15 01:17:47 general systemd[1]: hello.service failed.Mar 15 01:17:47 general docker[673]: Pulling repository busyboxMar 15 01:17:47 general docker[673]: time=2015-03-15T01:17:47Z level=fatal msg=Get https://index.docker.io/v1/repositories/library/busybox/images: dial tcp: lookup index.docker.io: connection refusedAny clue what I'm doing wrong?
CoreOS can't pull docker container on boot
docker;systemd;coreos