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