Skip to content

Commit 6199a44

Browse files
committed
login without echo for windows users
1 parent ac07e11 commit 6199a44

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/java/de/rub/nds/tls/subject/docker/DockerTlsManagerFactory.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -216,11 +216,11 @@ public void pull(ConnectionRole connectionRole) {
216216
// we go with this
217217
// for now
218218
String loginCommand =
219-
"echo "
220-
+ DockerClientManager.getDockerServerPassword()
221-
+ " | docker login -u "
219+
"docker login -u "
222220
+ DockerClientManager.getDockerServerUsername()
223-
+ " --password-stdin "
221+
+ " -p "
222+
+ DockerClientManager.getDockerServerPassword()
223+
+ " "
224224
+ REPOSITORY_LOCATION;
225225
String pullCommand =
226226
"docker pull "

0 commit comments

Comments
 (0)