mirror of
https://github.com/openstf/stf
synced 2025-10-05 10:39:25 +02:00
8 lines
251 B
Desktop File
8 lines
251 B
Desktop File
[Unit]
|
|
Description=Clean up dangling Docker images
|
|
After=docker.service
|
|
Requires=docker.service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/usr/bin/env sh -c '/usr/bin/docker images -q --filter "dangling=true" | xargs -t --no-run-if-empty /usr/bin/docker rmi'
|