We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64abb6f commit 6fa4cc0Copy full SHA for 6fa4cc0
1 file changed
src/main/java/com/github/dockerjava/core/DockerClientConfig.java
@@ -253,7 +253,8 @@ public String getDockerCfgPath() {
253
254
private AuthConfig getAuthConfig() {
255
AuthConfig authConfig = null;
256
- if(getUsername() != null) {
+ if (getUsername() != null && getPassword() != null && getEmail() != null
257
+ && getServerAddress() != null) {
258
authConfig = new AuthConfig();
259
authConfig.setUsername(getUsername());
260
authConfig.setPassword(getPassword());
0 commit comments