Search notes:

docker cp

Copy a file or directory from a container to the local filesystem or vice versa:
docker cp $CONTAINERNAME:/home/rene/readme.txt ~/readme.txt
Container paths are relative to the container's root directory (which implies that the initial forward slash / (unix) can be omitted).
Local paths, on the other hand, can be either absolute or relative.
The file/directory can be copied even if the container is stopped.
As far as I can tell, it's not possible to use the * for file globbing.

See also

The -v option of docker run allows to bind («share») a volume between the host and the container.

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1759391176, '216.73.216.42', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/tools/Docker/commands/cp(49): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78