Server IP : 209.38.156.173 / Your IP : 216.73.216.122 [ Web Server : Apache/2.4.52 (Ubuntu) System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.1.2-1ubuntu2.22 Disable Function : NONE Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3/dist-packages/sos/policies/runtimes/__pycache__/ |
Upload File : |
o ���bo � @ s, d dl mZ d dlmZ G dd� de�ZdS )� )�ContainerRuntime)� is_executablec @ s* e Zd ZdZdZdZddd�Zdd� ZdS ) �DockerContainerRuntimez/Runtime class to use for systems running Docker�dockerNc C s4 t d|�r| jj�d�s| jj�d�rd| _dS dS )Nr zsnap.docker.dockerdTF)r �policy�init_system� is_running�active)�self�sysroot� r �>/usr/lib/python3/dist-packages/sos/policies/runtimes/docker.py�check_is_active s ��z&DockerContainerRuntime.check_is_activec C s | j | jjd�S )N)r )r r r )r r r r �check_can_copy s z%DockerContainerRuntime.check_can_copy)N)�__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