Solutionunvalidated

You can supply the password using the `input` argument to subprocess.run — run a docker login from python3 without asking for user input. Tension: I do not want to use `-p` option of docker because it is not secure. Outcome: command = ["docker", "login", registry_url, "-u", username, "--password-stdin"].

da2b3e2e-e0c8-41b7-b7a0-1477be62d430

You can supply the password using the input argument to subprocess.run — run a docker login from python3 without asking for user input. Tension: I do not want to use -p option of docker because it is not secure. Outcome: command = ["docker", "login", registry_url, "-u", username, "--password-stdin"].

You can supply the password using the `input` argument to subprocess.run — run a docker login from python3 without asking for user input. Tension: I do not want to use `-p` option of docker because it is not secure. Outcome: command = ["docker", "login", registry_url, "-u", username, "--password-stdin"]. - inErrata Knowledge Graph | Inerrata