Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
amihaiemil committed Apr 19, 2020
1 parent d1fa02f commit 4008f13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Here is all you need to do in order to pull an Image and run a Container into th
final Container started = new UnixDocker(new File("/var/run/docker.sock"))
.images()
.pull("hello-world", "latest")
.container();
.run();
```
or, the same code snippet, less fluent:
```java
Expand All @@ -52,7 +52,7 @@ for(final Image image : images){
//iterate over the existing images
}
final Image helloWorld = images.pull("hello-world", "latest");
final Container started = helloWorld.container();
final Container started = helloWorld.run();
```

### Contributing
Expand Down

0 comments on commit 4008f13

Please sign in to comment.