Skip to main content

docker_supports_systemd

Function docker_supports_systemd 

Source
pub async fn docker_supports_systemd(
    client: &DockerClient,
) -> Result<bool, DockerError>
Expand description

Determine whether the Docker host supports systemd-in-container.

Returns true only for Linux hosts that are not Docker Desktop and not rootless.