pub async fn user_exists( client: &DockerClient, container: &str, username: &str, ) -> Result<bool, DockerError>
Check if a user exists in the container
client
container
username
true if the user exists, false otherwise
true
false