1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/packaging/ubuntu/lxc-docker.prerm

4 lines
100 B
Bash

#!/bin/sh
# Stop docker
if [ "`pgrep -f '/usr/bin/docker -d'`" != "" ]; then /sbin/stop docker; fi