ssm-services/services/docker

12 lines
194 B
Plaintext
Raw Permalink Normal View History

#!/usr/bin/env ssm
2014-02-22 14:32:37 +00:00
service_command=( '/usr/bin/dockerd' -s overlay2 )
2014-02-22 14:32:37 +00:00
update() {
stop && {
2014-02-22 14:32:37 +00:00
wget "https://get.docker.io/builds/Linux/x86_64/docker-latest" -O "$service_command"
}
start
2014-02-22 14:32:37 +00:00
}