docker/80-docker.rules
Aleksa Sarai 245fad9603 - Further merge docker and docker-stable specfiles to minimise the differences.
The main thing is that we now include both halves of the
  Conflicts/Provides/Obsoletes dance in both specfiles.

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=413
2024-10-18 00:34:51 +00:00

6 lines
345 B
Plaintext

# hide docker's loopback devices from udisks, and thus from user desktops
SUBSYSTEM=="block", ENV{DM_NAME}=="docker-*", ENV{UDISKS_PRESENTATION_HIDE}="1", ENV{UDISKS_IGNORE}="1"
SUBSYSTEM=="block", DEVPATH=="/devices/virtual/block/loop*", ATTR{loop/backing_file}=="/var/lib/docker/*", ENV{UDISKS_PRESENTATION_HIDE}="1", ENV{UDISKS_IGNORE}="1"