diff --git a/test/integration/oidc/test_auth_oidc.py b/test/integration/oidc/test_auth_oidc.py index 6f29e36bb0a8..92b331b762ef 100644 --- a/test/integration/oidc/test_auth_oidc.py +++ b/test/integration/oidc/test_auth_oidc.py @@ -55,8 +55,6 @@ def start_keycloak_docker(container_name, port=8443, image="keycloak/keycloak:22 START_SLURM_DOCKER = [ "docker", "run", - "-h", - "localhost", "-p", f"{port}:8443", "-d", @@ -64,7 +62,7 @@ def start_keycloak_docker(container_name, port=8443, image="keycloak/keycloak:22 container_name, "--rm", "-v", - f"{keycloak_realm_data}:/opt/keycloak/data/import", + f"'{keycloak_realm_data}':/opt/keycloak/data/import", "-e", f"KEYCLOAK_ADMIN={KEYCLOAK_ADMIN_USERNAME}", "-e",