Skip to content
This repository was archived by the owner on Mar 21, 2022. It is now read-only.

Commit ff8d08b

Browse files
committed
Fix docs for copyToContainer
- Fixes the first param to use Path as String doesnt work any more.
1 parent b926524 commit ff8d08b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/user_manual.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ try (final TarArchiveInputStream tarStream = new TarArchiveInputStream(docker.ar
319319
### Extract an archive of files or folders to a directory in a container
320320

321321
```java
322-
docker.copyToContainer("/local/path", "containerID", "/path/in/container");
322+
docker.copyToContainer(new java.io.File("/local/path").toPath(), "containerID", "/path/in/container");
323323
```
324324

325325
## Networks

0 commit comments

Comments
 (0)