Automates deployment of containerized applications
CentOS Sources
2017-11-30 78b10da3fc88c5ddf46b68d3dd3ac9b62fdf2cb6
commit | author | age
d03ac3 1 [Unit]
CS 2 Description=Docker Cleanup
3 Requires=docker.service
4
5
6 [Service]
7 Type=oneshot
8 ExecStart=/usr/bin/sh -c "DEAD=`docker ps -aq -f status=dead` && [ -n \"$DEAD\" ] && docker rm $DEAD; exit 0"
9
10 [Install]
11 WantedBy=multi-user.target