Skip to content

Commit cdfc6b0

Browse files
committed
setting docker/podman login host default to docker.io
1 parent 5f0c490 commit cdfc6b0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

electron/app/js/imageBuilderUtils.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,11 @@ async function doLogin(imageBuilderExe, options) {
7979

8080
if (options.host) {
8181
args.push(options.host);
82+
} else {
83+
// podman does not always default to docker hub when logging in without a host.
84+
args.push('docker.io');
8285
}
86+
8387
if (options.username) {
8488
args.push('-u', options.username);
8589
}

0 commit comments

Comments
 (0)