mirror of
https://github.com/docker/docs.git
synced 2026-04-01 08:48:56 +07:00
This sets up an idiomatic Go workspace in /opt/go with the source shared from the host directory in /opt/go/src/github.com/dotcloud/docker and docker installed into /opt/go
13 lines
326 B
Plaintext
13 lines
326 B
Plaintext
description "Run dockerd"
|
|
|
|
stop on runlevel [!2345]
|
|
start on runlevel [3]
|
|
|
|
# if you want it to automatically restart if it crashes, leave the next line in
|
|
respawn
|
|
|
|
script
|
|
test -f /etc/default/locale && . /etc/default/locale || true
|
|
LANG=$LANG LC_ALL=$LANG /opt/go/bin/docker -d >> /var/log/dockerd 2>&1
|
|
end script
|