From 0212917c5eba96a757cb9d676cbc4e58d1770604 Mon Sep 17 00:00:00 2001 From: Vito Sartori Date: Tue, 1 Apr 2025 16:50:51 -0300 Subject: [PATCH] fix: Change reference of #copy to #archive_out --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e0697050..a7933862 100644 --- a/README.md +++ b/README.md @@ -423,7 +423,7 @@ container.changes # => [{'Path'=>'/dev', 'Kind'=>0}, {'Path'=>'/dev/kmsg', 'Kind'=>1}] # Copy files/directories from the Container. Note that these are exported as tars. -container.copy('/etc/hosts') { |chunk| puts chunk } +container.archive_out('/etc/hosts') { |chunk| puts chunk } hosts0000644000000000000000000000023412100405636007023 0ustar 127.0.0.1 localhost