Skip to content

Commit 3b16391

Browse files
Update README.md
Since the version 0.10.1, the constructor for DockerClientImpl is now private.
1 parent 0abdfeb commit 3b16391

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,10 @@ In your application, e.g.
8585
config.withUsername("dockeruser");
8686
config.withPassword("ilovedocker");
8787
config.withEmail("dockeruser@github.com);
88-
DockerClient docker = new DockerClientImpl(config);
88+
DockerClient docker = DockerClientBuilder
89+
.getInstance( config )
90+
.withDockerCmdExecFactory( new DockerCmdExecFactoryImpl())
91+
.build();
8992

9093
##### System Properties:
9194
E.g.

0 commit comments

Comments
 (0)