Skip to main content

create_container_user

Function create_container_user 

Source
pub async fn create_container_user(
    client: &DockerClient,
    username: &str,
    password: &str,
) -> Result<()>
Expand description

Create a user in the container with the given password

If the user already exists, updates their password instead. Uses PAM-based authentication (chpasswd for secure password setting).