#cloud-config coreos: units: - name: hello-docker.service command: start content: | [Unit] Description=Camlistore After=docker.service Requires=docker.service [Service] ExecStart=/usr/bin/docker run -p 80:80 camlistore/hello RestartSec=500ms Restart=always [Install] WantedBy=multi-user.target