Server : Apache System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64 User : dh_edsupp ( 6597262) PHP Version : 8.2.26 Disable Function : NONE Directory : /lib/python3/dist-packages/sos/policies/runtimes/__pycache__/ |
Upload File : |
o -�_gG � @ s, d dl mZ d dlmZ G dd� de�ZdS )� )�ContainerRuntime)� is_executablec @ s( e Zd ZdZdZdZdd� Zdd� ZdS )�DockerContainerRuntimez/Runtime class to use for systems running Docker�dockerc C s8 t d| jj�r| jj�d�s| jj�d�rd| _dS dS )Nr zsnap.docker.dockerdTF)r �policy�sysroot�init_system� is_running�active��self� r �>/usr/lib/python3/dist-packages/sos/policies/runtimes/docker.py�check_is_active s ��z&DockerContainerRuntime.check_is_activec C s | j S )N)r r r r r �check_can_copy s z%DockerContainerRuntime.check_can_copyN)�__name__� __module__�__qualname__�__doc__�name�binaryr r r r r r r s r N)�sos.policies.runtimesr � sos.utilitiesr r r r r r �<module> s