dockerfile - how to rsync from a host computer to docker container using docker cp - Stack Overflow (https://cdn.sstatic.net/Sites/stackoverflow/Img/favicon.ico?v=ec617d715196) (https://cdn.sstatic.net/Sites/stackoverflow/Img/apple-touch-icon.png?v=c78bd457575a) (https://cdn.sstatic.net/Sites/stackoverflow/Img/apple-touch-icon.png?v=c78bd457575a) (Stack Overflow) (/opensearch.xml) (https://stackoverflow.com/questions/45723891/how-to-rsync-from-a-host-computer-to-docker-container-using-docker-cp) (https://cdn.sstatic.net/Shared/stacks.css?v=619122b796ae) (https://cdn.sstatic.net/Sites/stackoverflow/primary.css?v=02dcb5186b90) (Feed for question 'how to rsync from a host computer to docker container using docker cp') (/feeds/question/45723891) (https://cdn.sstatic.net/Shared/Channels/channels.css?v=5981bb1a5bd7) (https://accounts.google.com/gsi/style) (site logo) Join Stack Overflow By clicking “Sign up”, you agree to our (/legal/terms-of-service/public) terms of service and acknowledge you have read our (/legal/privacy-policy) privacy policy . (e2a58aec89e0105273f31cf44dffd45d868462dc661de60a7d67e669a7370ceb) (1) (undefined) (2.0) Sign up with Google Sign up with GitHub OR (e2a58aec89e0105273f31cf44dffd45d868462dc661de60a7d67e669a7370ceb) (1) (undefined) Email Password (8+ characters (at least 1 letter & 1 number)) Sign up Already have an account? (/users/login) Log in (e2a58aec89e0105273f31cf44dffd45d868462dc661de60a7d67e669a7370ceb) () Skip to main content (https://stackoverflow.com) Stack Overflow (https://stackoverflow.co/) About Products (https://stackoverflow.co/teams/ai/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav-bar&utm_content=overflowai) OverflowAI (https://stackoverflow.co/teams/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=stack-overflow-for-teams) Stack Overflow for Teams Where developers & technologists share private knowledge with coworkers (https://stackoverflow.co/advertising/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=stack-overflow-advertising) Advertising & Talent Reach devs & technologists worldwide about your product, service or employer brand (https://stackoverflow.co/teams/ai/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=overflow-ai) OverflowAI GenAI features for Teams (https://stackoverflow.co/api-solutions/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=overflow-api) OverflowAPI Train & fine-tune LLMs (https://stackoverflow.co/labs/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=labs) Labs The future of collective knowledge sharing (https://stackoverflow.co/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=about-the-company) About the company (https://stackoverflow.blog/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=blog) Visit the blog (Search…) () Loading… (https://stackoverflow.com) current community (https://stackoverflow.com) (Stack Overflow) Stack Overflow (https://stackoverflow.com/help) help (https://chat.stackoverflow.com/?tab=site&host=stackoverflow.com) chat (https://meta.stackoverflow.com) (Meta Stack Overflow) Meta Stack Overflow your communities (https://stackoverflow.com/users/signup?ssrc=site_switcher&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f45723891%2fhow-to-rsync-from-a-host-computer-to-docker-container-using-docker-cp) Sign up or (https://stackoverflow.com/users/login?ssrc=site_switcher&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f45723891%2fhow-to-rsync-from-a-host-computer-to-docker-container-using-docker-cp) log in to customize your list. (https://stackexchange.com/sites) more stack exchange communities (https://stackoverflow.blog) company blog (Click to show search) (https://stackoverflow.com/users/login?ssrc=head&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f45723891%2fhow-to-rsync-from-a-host-computer-to-docker-container-using-docker-cp) Log in (https://stackoverflow.com/users/signup?ssrc=head&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f45723891%2fhow-to-rsync-from-a-host-computer-to-docker-container-using-docker-cp) Sign up (/) Home (/questions) Questions (/tags) Tags (/users) Users (https://stackoverflow.com/jobs/companies?so_medium=stackoverflow&so_source=SiteNav) Companies Labs (/jobs?source=so-left-nav) Jobs (/beta/discussions) Discussions Collectives Communities for your favorite technologies. (/collectives-all) Explore all Collectives Teams Now available on Stack Overflow for Teams! AI features where you work: search, IDE, and chat. (https://stackoverflow.co/teams/ai/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=side-bar&utm_content=overflowai-learn-more) Learn more (https://stackoverflow.co/teams/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=side-bar&utm_content=explore-teams) Explore Teams Teams Ask questions, find answers and collaborate at work with Stack Overflow for Teams. (https://stackoverflow.co/teams/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=side-bar&utm_content=explore-teams-compact) Explore Teams Collectives™ on Stack Overflow Find centralized, trusted content and collaborate around the technologies you use most. (/collectives) Learn more about Collectives Teams Q&A for work Connect and share knowledge within a single location that is structured and easy to search. (https://stackoverflow.co/teams/) Learn more about Teams Get early access and see previews of new features. (https://stackoverflow.co/labs/) Learn more about Labs (https://cdn.sstatic.net/Sites/stackoverflow/Img/apple-touch-icon.png?v=c78bd457575a) (/questions/45723891/how-to-rsync-from-a-host-computer-to-docker-container-using-docker-cp) how to rsync from a host computer to docker container using docker cp (/questions/ask) Ask Question (2017-08-16 22:23:28Z) Asked 7 years ago Modified (?lastactivity) (2020-11-13 05:23:21Z) 3 years, 9 months ago (Viewed 30,974 times) Viewed 31k times This question shows research effort; it is useful and clear (70:3:31e,16:a9859de7f1bc93de,10:1725307642,16:2888540b11317369,8:45723891,6237b3e964b2836ad076888e33d14e9a565585bcca13031b00b00076af79cfd9) 15 (This question does not show any research effort; it is unclear or not useful) (70:3:31e,16:1f50ac8e8917c7cd,10:1725307642,16:737d95fc300fbc63,8:45723891,79a69a07b93fc2214c44483e4d5cc8a16a3ae3478ede455b70cf0abca45867f4) Save this question. (/posts/45723891/timeline) Show activity on this post. I am trying to run following: start a container in background docker run -dit -p 8090:80 --name container repository:dockerfile bash I want to exclude sub directory /data from /test docker cp /Users/$USER/test container:/test I thought of using rsync for this docker exec rsync -avP --exclude /Users/$USER/test/data /Users/$USER/test/ container:/test/ I get below error: rsync: Failed to exec ssh: No such file or directory (2) rsync error: error in IPC code (code 14) at pipe.c(85) [sender=3.1.0] rsync: connection unexpectedly closed (0 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(226) [sender=3.1.0] How do I rsync from host to container? (/questions/tagged/docker) (show questions tagged 'docker') docker (/questions/tagged/dockerfile) (show questions tagged 'dockerfile') dockerfile (/q/45723891) (Short permalink to this question) Share Share a link to this question Copy link (https://creativecommons.org/licenses/by-sa/3.0/) (The current license for this post: CC BY-SA 3.0) CC BY-SA 3.0 Follow (70:3:31e,16:ab29b9e608789b30,10:1725307642,16:e4acc5e86df151d0,8:45723891,410c3922ba663daedd201a530f423b03d6ed1ed90e7f00dd7ed42dc65d5d2bf9) Follow this question to receive notifications (/posts/45723891/revisions) (show all edits to this post) edited (2017-08-16 23:09:48Z) Aug 16, 2017 at 23:09 (/users/694162/sauerburger) (sauerburger's user avatar) (/users/694162/sauerburger) sauerburger (reputation score) 5,043 (4 gold badges) 4 4 gold badges (33 silver badges) 33 33 silver badges (45 bronze badges) 45 45 bronze badges asked (2017-08-16 22:23:28Z) Aug 16, 2017 at 22:23 (/users/1282306/brenda-olivia-martis) (Brenda Olivia Martis's user avatar) (/users/1282306/brenda-olivia-martis) Brenda Olivia Martis Brenda Olivia Martis (reputation score) 563 (2 gold badges) 2 2 gold badges (7 silver badges) 7 7 silver badges (19 bronze badges) 19 19 bronze badges (Use comments to ask for more information or suggest improvements. Avoid answering questions in comments.) Add a comment | (Expand to show all comments on this post) 5 Answers 5 Sorted by: (/questions/45723891/how-to-rsync-from-a-host-computer-to-docker-container-using-docker-cp?answertab=scoredesc#tab-top) Reset to default (scoredesc) Highest score (default) (trending) Trending (recent votes count more) (modifieddesc) Date modified (newest first) (createdasc) Date created (oldest first) This answer is useful (70:3:31e,16:3c6d49938c5559e1,10:1725307642,16:497c252b64c0359a,8:45725191,085be94a18183f2c1f460572b03dfdfa4e2e57a3b8c4c49e09243d870f786233) 8 (This answer is not useful) (70:3:31e,16:5a87c5f088ef915e,10:1725307642,16:6518959c6e58de41,8:45725191,08300448b5d6643b55febc1aff819258782dc0b4bc66e2b62b5353babb8b90ff) Save this answer. (Loading when this answer was accepted…) (/posts/45725191/timeline) Show activity on this post. Map the host directory first, into the container: docker run -v /Users/$USER/test:/temp-test -dit -p 8090:80 --name container repository:dockerfile bash Then use the rsync as follows: docker exec container rsync -avP --exclude /temp-test/data /temp-test/ /test/ (/a/45725191) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/3.0/) (The current license for this post: CC BY-SA 3.0) CC BY-SA 3.0 Follow (70:3:31e,16:539cb5343448a7a4,10:1725307642,16:66266b6f1c9deba9,8:45725191,f53083d1411beb9a3a4fcb4be8a243463dde45de71a3ceb282258d7153d95e0b) Follow this answer to receive notifications answered (2017-08-17 01:14:20Z) Aug 17, 2017 at 1:14 (/users/1094246/robert) (Robert's user avatar) (/users/1094246/robert) Robert Robert (reputation score 35,923) 35.9k (8 gold badges) 8 8 gold badges (94 silver badges) 94 94 silver badges (98 bronze badges) 98 98 bronze badges 0 (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) Add a comment | (Expand to show all comments on this post) This answer is useful (70:3:31e,16:5a109312ea8eafe1,10:1725307642,16:df7194abad2e11a2,8:64815547,0cfd920fceee90c86afb423b44fdf516f7867dee1c71a99a65c16538b95a504f) 8 (This answer is not useful) (70:3:31e,16:a178cd82352e1b20,10:1725307642,16:1818aae7f3b51004,8:64815547,4bb9cd660c0952a5c54d5ba464db6710c0795d5825511ab41357d731fdaa64c0) Save this answer. (Loading when this answer was accepted…) (/posts/64815547/timeline) Show activity on this post. The way to use rsync to copy files into a Docker container Make sure your Docker container has rsync installed, and define this alias: alias drsync="rsync -e 'docker exec -i'" Now, you can use rsync with containers as if they are remote machines: drsync -av /source/ container:/destination/ (/a/64815547) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/4.0/) (The current license for this post: CC BY-SA 4.0) CC BY-SA 4.0 Follow (70:3:31e,16:0a018a58ac73e199,10:1725307642,16:81d9caf04048e9c4,8:64815547,988eb91bc398ff21423f54a6f474d9c0601348247629a7d9a25908b6cea1860b) Follow this answer to receive notifications (/posts/64815547/revisions) (show all edits to this post) edited (2020-11-13 05:23:21Z) Nov 13, 2020 at 5:23 answered (2020-11-13 04:34:42Z) Nov 13, 2020 at 4:34 (/users/10756025/milo-chen) (Milo Chen's user avatar) (/users/10756025/milo-chen) Milo Chen Milo Chen (reputation score) 3,915 (4 gold badges) 4 4 gold badges (22 silver badges) 22 22 silver badges (38 bronze badges) 38 38 bronze badges 3 protocol version mismatch -- is your shell clean? (see the rsync man page for an explanation) rsync error: protocol incompatibility (code 2) at compat.c(178) [sender=3.1.3] Should I add bin/bash following? – (/users/11687536/kevin-wang) (55 reputation) Kevin wang Commented (2022-10-26 01:03:55Z, License: CC BY-SA 4.0) Oct 26, 2022 at 1:03 How would you do this if the container is running on a remote server? Let's say, I use this command, to transfer files directly to the server: "rsync -avP /source/ user@remote_server:/destination" and the container name is "container". – (/users/9441824/irina-s) (196 reputation) Irina S. Commented (2023-02-01 16:09:01Z, License: CC BY-SA 4.0) Feb 1, 2023 at 16:09 (number of 'useful comment' votes received) 2 This is great! I would put more emphasis on "Make sure your Docker container has rsync installed" . Without that, you'll get the cryptic error: (https://serverfault.com/a/803499/117206) "protocol version mismatch -- is your shell clean?" – (/users/86967/brent-bradburn) (54,191 reputation) Brent Bradburn Commented (2023-08-26 14:31:01Z, License: CC BY-SA 4.0) Aug 26, 2023 at 14:31 (this comment was edited 1 time) (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) Add a comment | (Expand to show all comments on this post) This answer is useful (70:3:31e,16:c67f61e51ace90ac,10:1725307642,16:b18c4a82fe189dd4,8:45724168,c96c448e88962068ae2c3d3ad836c7923927d64f626a7a338c228d2490408146) 4 (This answer is not useful) (70:3:31e,16:f429f7618a1b96f1,10:1725307642,16:cf5528ac7e429141,8:45724168,a0043a9b39a4da868c7575d43be6a1e1c2857849e61c029808b5fc244d0418a3) Save this answer. (Loading when this answer was accepted…) (/posts/45724168/timeline) Show activity on this post. When you run docker exec rsync [...] you execute the rsync command in your container. The path /Users/$USER/test/ corresponds to a directory on you host system, so rsync has a hard time finding it in your container. There are basically two ways to use rsync to transfer files into a container: You can install an ssh server on you host system and use rsync to connect from within your container to the host system from the outside . If you have a running ssh server on you host and the host is reachable under the name host you can do docker exec rsync -avP --exclude /Users/$USER/test/data host:/Users/$USER/test /test You can install an ssh server inside the container and use rsync on your host system to connect to the container from the outside . I assume your container is reachable under the name container , then you can do rsync avP --exclude /Users/$USER/test/data /Users/$USER/test container:/test In this case you have to make sure that the ssh port (default is 22) is published by the docker daemon. (/a/45724168) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/3.0/) (The current license for this post: CC BY-SA 3.0) CC BY-SA 3.0 Follow (70:3:31e,16:a7656ce18099be74,10:1725307642,16:82e56950a43a66f0,8:45724168,fb420d7e32210de3427f546ac20449987bf1eaaf1f8b27c1778790fc0f88b7b5) Follow this answer to receive notifications (/posts/45724168/revisions) (show all edits to this post) edited (2017-11-09 14:31:19Z) Nov 9, 2017 at 14:31 answered (2017-08-16 22:57:08Z) Aug 16, 2017 at 22:57 (/users/694162/sauerburger) (sauerburger's user avatar) (/users/694162/sauerburger) sauerburger sauerburger (reputation score) 5,043 (4 gold badges) 4 4 gold badges (33 silver badges) 33 33 silver badges (45 bronze badges) 45 45 bronze badges 2 (number of 'useful comment' votes received) 1 rsync has a server mode, you dont need ssh for that – (/users/1714762/jean-bernard-jansen) (7,782 reputation) Jean-Bernard Jansen Commented (2019-04-16 11:28:33Z, License: CC BY-SA 4.0) Apr 16, 2019 at 11:28 You have to worry about protocol version mismatch if you don't install ssh. I ended up installing ssh too. – (/users/714112/sridhar-sarnobat) (24,870 reputation) Sridhar Sarnobat Commented (2021-03-16 02:14:40Z, License: CC BY-SA 4.0) Mar 16, 2021 at 2:14 (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) Add a comment | (Expand to show all comments on this post) This answer is useful (70:3:31e,16:57b0dfd03e1aa59e,10:1725307642,16:649f751dd0ddeb7f,8:62255785,472216d143ae46f4c0437bcce24d898328f76ece094a9712d835c79eb7fcaadf) 1 (This answer is not useful) (70:3:31e,16:a912618c674c5e26,10:1725307642,16:2361948a5c34f208,8:62255785,c361243b6ab296c0a8fab191167e1bc7de9602b9c47b7f1669481fbbd7cf556d) Save this answer. (Loading when this answer was accepted…) (/posts/62255785/timeline) Show activity on this post. This should mirror the command you attempted in the OP... rsync -avPe 'docker exec -i' --exclude /Users/$USER/test/data /Users/$USER/test/ container:/test/ It works similarly to get files out of the container. Credit to (https://github.com/moby/moby/issues/13660#issuecomment-165500701) https://github.com/moby/moby/issues/13660#issuecomment-165500701 (/a/62255785) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/4.0/) (The current license for this post: CC BY-SA 4.0) CC BY-SA 4.0 Follow (70:3:31e,16:9b78fe820bba6bdc,10:1725307642,16:b94b6956f539255d,8:62255785,72b10bc346b97158187625df87329063aafbddafe307c5f7bddf4141464639fc) Follow this answer to receive notifications answered (2020-06-08 05:50:07Z) Jun 8, 2020 at 5:50 (/users/6792223/andrew-sharpe) (Andrew Sharpe's user avatar) (/users/6792223/andrew-sharpe) Andrew Sharpe Andrew Sharpe (reputation score) 78 (4 bronze badges) 4 4 bronze badges (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) Add a comment | (Expand to show all comments on this post) This answer is useful (70:3:31e,16:89416ea21dfdf979,10:1725307642,16:d40f8a6bbdf6e7af,8:51985380,ce8442641f8cf20a4890546ef0407d2224ac979de5be5c27f27ec0fdab608e80) 0 (This answer is not useful) (70:3:31e,16:94dff5c3d2e7b2c5,10:1725307642,16:2974bc0c596440d8,8:51985380,932eb83a9a9344c12e4fce692bdb3369ce2dd4627127643c415c6fe5e26525c3) Save this answer. (Loading when this answer was accepted…) (/posts/51985380/timeline) Show activity on this post. The rsync: Failed to exec ssh: No such file or directory (2) is caused because ssh is not installed for you container. You install it manual or add it to your requirements file to install it automaticly. (/a/51985380) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/4.0/) (The current license for this post: CC BY-SA 4.0) CC BY-SA 4.0 Follow (70:3:31e,16:de317759d1b81ed9,10:1725307642,16:21dfb9933f91e773,8:51985380,c6300a78024ddf071488e53fc0972839f0d82741ce1db04a9c89400d27eb1d5c) Follow this answer to receive notifications answered (2018-08-23 12:01:49Z) Aug 23, 2018 at 12:01 (/users/10088500/tobias-ferrari) (Tobias Ferrari's user avatar) (/users/10088500/tobias-ferrari) Tobias Ferrari Tobias Ferrari (reputation score) 9 (1 silver badge) 1 1 silver badge (7 bronze badges) 7 7 bronze badges (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) Add a comment | (Expand to show all comments on this post) (45723891) (false) () Your Answer Reminder: Answers generated by artificial intelligence tools are not allowed on Stack Overflow. (/help/gen-ai-policy) Learn more (true) Thanks for contributing an answer to Stack Overflow! Please be sure to answer the question . Provide details and share your research! But avoid … Asking for help, clarification, or responding to other answers. Making statements based on opinion; back them up with references or personal experience. To learn more, see our (/help/how-to-answer) tips on writing great answers . Draft saved Draft discarded (e2a58aec89e0105273f31cf44dffd45d868462dc661de60a7d67e669a7370ceb) Sign up or (/users/login?ssrc=question_page&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f45723891%2fhow-to-rsync-from-a-host-computer-to-docker-container-using-docker-cp%23new-answer) log in Sign up using Google Sign up using Email and Password (false) (false) Submit Post as a guest Name () () Email Required, but never shown () () Post as a guest Name () () Email Required, but never shown () () Post Your Answer Discard By clicking “Post Your Answer”, you agree to our (https://stackoverflow.com/legal/terms-of-service/public) terms of service and acknowledge you have read our (https://stackoverflow.com/legal/privacy-policy) privacy policy .(1) Not the answer you're looking for? Browse other questions tagged (/questions/tagged/docker) (show questions tagged 'docker') docker (/questions/tagged/dockerfile) (show questions tagged 'dockerfile') dockerfile or (/questions/ask) ask your own question . The Overflow Blog (https://stackoverflow.blog/2024/08/30/mobile-observability-open-telemetry-embrace-ios-android-austin-emmons/?cb=1) (Mobile Observability: monitoring performance through cracked screens, old batteries, and crappy Wi-Fi) Mobile Observability: monitoring performance through cracked screens, old... Featured on Meta (Meta Stack Exchange) (https://meta.stackexchange.com/questions/401324/announcing-a-change-to-the-data-dump-process?cb=1) Announcing a change to the data-dump process (Meta Stack Exchange) (https://meta.stackexchange.com/questions/402121/bringing-clarity-to-status-tag-usage-on-meta-sites?cb=1) Bringing clarity to status tag usage on meta sites (Meta Stack Overflow) (https://meta.stackoverflow.com/questions/431331/what-does-a-new-user-need-in-a-homepage-experience-on-stack-overflow?cb=1) What does a new user need in a homepage experience on Stack Overflow? (Meta Stack Overflow) (https://meta.stackoverflow.com/questions/431273/feedback-requested-how-do-you-use-tag-hover-descriptions-for-curating-and-do-yo?cb=1) (Feedback requested: How do you use tag hover descriptions for curating and do you use the RSS feed feature?) Feedback requested: How do you use tag hover descriptions for curating and do... (Meta Stack Overflow) (https://meta.stackoverflow.com/questions/431399/staging-ground-reviewer-motivation?cb=1) Staging Ground Reviewer Motivation Linked (https://stackoverflow.com/q/75223059?lq=1) (Question score (upvotes - downvotes)) 0 (https://stackoverflow.com/questions/75223059/docker-react-app-webpack-compiles-but-browser-doesnt-refresh-after-editing-and?noredirect=1&lq=1) Docker react app, webpack compiles but browser doesn't refresh after editing and saving (https://stackoverflow.com/q/60933436?lq=1) (Question score (upvotes - downvotes)) -1 (https://stackoverflow.com/questions/60933436/access-data-inside-volume?noredirect=1&lq=1) Access data inside volume Related (https://stackoverflow.com/q/22049212?rq=3) (Question score (upvotes - downvotes)) 2929 (https://stackoverflow.com/questions/22049212/copying-files-from-docker-container-to-host?rq=3) Copying files from Docker container to host (https://stackoverflow.com/q/22907231?rq=3) (Question score (upvotes - downvotes)) 2513 (https://stackoverflow.com/questions/22907231/how-to-copy-files-from-host-to-docker-container?rq=3) How to copy files from host to Docker container? (https://stackoverflow.com/q/29939419?rq=3) (Question score (upvotes - downvotes)) 9 (https://stackoverflow.com/questions/29939419/docker-copying-file-from-host-to-container?rq=3) Docker Copying file from host to container (https://stackoverflow.com/q/33377022?rq=3) (Question score (upvotes - downvotes)) 63 (https://stackoverflow.com/questions/33377022/how-to-copy-files-from-dockerfile-to-host?rq=3) How to copy files from dockerfile to host? (https://stackoverflow.com/q/37926887?rq=3) (Question score (upvotes - downvotes)) 18 (https://stackoverflow.com/questions/37926887/docker-cp-from-host-to-container-is-not-working?rq=3) docker cp from host to container is not working (https://stackoverflow.com/q/45681833?rq=3) (Question score (upvotes - downvotes)) 12 (https://stackoverflow.com/questions/45681833/unable-to-copy-file-from-docker-container-to-host?rq=3) Unable to copy file from Docker container to host (https://stackoverflow.com/q/50833148?rq=3) (Question score (upvotes - downvotes)) 13 (https://stackoverflow.com/questions/50833148/copy-files-from-container-to-host-using-dockerfile?rq=3) Copy files from Container to host using Dockerfile (https://stackoverflow.com/q/54992721?rq=3) (Question score (upvotes - downvotes)) 3 (https://stackoverflow.com/questions/54992721/docker-machine-with-rsync?rq=3) docker-machine with rsync (https://stackoverflow.com/q/60771667?rq=3) (Question score (upvotes - downvotes)) 2 (https://stackoverflow.com/questions/60771667/copy-a-folder-from-docker-to-host?rq=3) Copy a folder from Docker to host (https://stackoverflow.com/q/61283934?rq=3) (Question score (upvotes - downvotes)) 0 (https://stackoverflow.com/questions/61283934/how-to-copy-a-file-from-host-machine-to-docker-container-using-copy-directive-in?rq=3) How to copy a file from host machine to Docker container using COPY directive in docker image? (https://stackexchange.com/questions?tab=hot) Hot Network Questions (Photography Stack Exchange) (https://photo.stackexchange.com/questions/135530/took-a-pic-of-old-school-friend-in-the-80s-who-is-now-quite-famous-and-written-a) Took a pic of old school friend in the 80s who is now quite famous and written a huge selling memoir. Pic has ben used in book without permission (Role-playing Games Stack Exchange) (https://rpg.stackexchange.com/questions/213204/lore-reasons-for-being-faithless) Lore reasons for being faithless (Webmasters Stack Exchange) (https://webmasters.stackexchange.com/questions/145607/how-to-disavow-backlinks-from-the-bing-group-of-websites) How to disavow backlinks from the Bing group of websites? (Mathematics Stack Exchange) (https://math.stackexchange.com/questions/4966073/is-it-valid-to-replace-the-limit-of-a-function-inside-the-indifnite-integration) Is it valid to replace the limit of a function inside the indifnite integration when computing limits? (Cryptography Stack Exchange) (https://crypto.stackexchange.com/questions/112845/does-the-tls-ecdhe-ecdsa-with-aes-256-ccm-ciphersuite-support-the-sha-384-hash-f) Does the TLS_ECDHE_ECDSA_WITH_AES_256_CCM ciphersuite support the sha 384 hash function? (Physics Stack Exchange) (https://physics.stackexchange.com/questions/826517/what-does-the-equation-of-the-law-of-conservation-of-total-mechanical-energy-wit) What does the equation of the law of conservation of total mechanical energy with deformation energy look like? (Electrical Engineering Stack Exchange) (https://electronics.stackexchange.com/questions/724137/soldering-rg179-coaxial-cable-directly-to-pcb) Soldering RG179 coaxial cable directly to PCB (Mathematics Educators Stack Exchange) (https://matheducators.stackexchange.com/questions/28073/best-way-to-explain-the-thinking-steps-from-x%c2%b2-9-to-x-%c2%b13) Best way to explain the thinking steps from x² = 9 to x=±3 (English Language & Usage Stack Exchange) (https://english.stackexchange.com/questions/625583/word-for-a-collection-of-awards-such-as-an-olympic-athlete-s-earned-medals) Word for a collection of awards, such as an Olympic athlete’s earned medals (Science Fiction & Fantasy Stack Exchange) (https://scifi.stackexchange.com/questions/291246/what-story-starts-off-with-the-character-waking-up-in-a-battlefield-with-wolves) What story starts off with the character waking up in a battlefield with wolves and vultures and snow? (Physics Stack Exchange) (https://physics.stackexchange.com/questions/826484/does-measuring-a-quantum-object-collapse-the-wave-function-even-if-the-particle) Does measuring a quantum object collapse the wave function even if the particle is not found in the position where it was measured? (Ask Ubuntu) (https://askubuntu.com/questions/1525051/does-it-pay-to-put-effort-in-fixing-this-problem-or-better-reinstall-ubuntu-24-0) Does it pay to put effort in fixing this problem or better reinstall Ubuntu 24.04 from scratch? (Bitcoin Stack Exchange) (https://bitcoin.stackexchange.com/questions/124126/how-do-i-get-gui-wokring-for-ubuntu-linux-how-do-i-go-about-searching-your-di) How do I get GUI wokring for Ubuntu linux, How do I go about " searching your distribtion's package database for the file missing"? (Information Security Stack Exchange) (https://security.stackexchange.com/questions/278509/whats-the-safest-way-to-store-a-password-in-database) Whats the safest way to store a password in database? (TeX - LaTeX Stack Exchange) (https://tex.stackexchange.com/questions/725609/i-have-two-identical-latex-files-with-different-file-names-only-one-yields-un) I have two identical LaTeX files, with different file names. Only one yields "undefined references." Why is this happening? (Science Fiction & Fantasy Stack Exchange) (https://scifi.stackexchange.com/questions/291290/did-gandalf-know-he-was-a-maia) Did Gandalf know he was a Maia? (Travel Stack Exchange) (https://travel.stackexchange.com/questions/191091/esta-is-not-letting-me-pay) ESTA is not letting me pay (Mi Yodeya) (https://judaism.stackexchange.com/questions/144665/what-does-%d7%a6%d7%99%d7%a8%d7%95-stand-for) What does ציר"ו stand for? (MathOverflow) (https://mathoverflow.net/questions/478010/reference-to-formal-approach-to-homotopy-analysis-method) Reference to formal approach to homotopy analysis method (TeX - LaTeX Stack Exchange) (https://tex.stackexchange.com/questions/725613/manually-number-theorems-natively-in-lyx) Manually number theorems natively in Lyx (The Workplace Stack Exchange) (https://workplace.stackexchange.com/questions/198982/should-you-refactor-when-there-are-no-tests) Should you refactor when there are no tests? (Ask Ubuntu) (https://askubuntu.com/questions/1525146/how-do-i-backup-only-changed-files-on-an-external-hard-drive) How do I backup only changed files on an external hard drive? (Computer Science Stack Exchange) (https://cs.stackexchange.com/questions/169588/functor-composition-rule-necessary) Functor composition rule necessary? (Blender Stack Exchange) (https://blender.stackexchange.com/questions/323804/how-can-i-align-an-existing-object-to-the-3d-viewports-xy-plane) How can I Align an existing Object to the 3D Viewport's XY Plane? (/feeds/question/45723891) (Feed of this question and its answers) Question feed Subscribe to RSS Question feed To subscribe to this RSS feed, copy and paste this URL into your RSS reader. (https://stackoverflow.com/feeds/question/45723891) () () () (https://stackoverflow.com) (https://stackoverflow.com) Stack Overflow (/questions) Questions (/help) Help (https://chat.stackoverflow.com/?tab=site&host=stackoverflow.com) Chat (https://stackoverflow.co/) Products (https://stackoverflow.co/teams/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=footer&utm_content=teams) Teams (https://stackoverflow.co/advertising/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=footer&utm_content=advertising) Advertising (https://stackoverflow.co/advertising/employer-branding/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=footer&utm_content=talent) Talent (https://stackoverflow.co/) Company (https://stackoverflow.co/) About (https://stackoverflow.co/company/press/) Press (https://stackoverflow.co/company/work-here/) Work Here (https://stackoverflow.com/legal) Legal (https://stackoverflow.com/legal/privacy-policy) Privacy Policy (https://stackoverflow.com/legal/terms-of-service/public) Terms of Service (/contact) Contact Us Cookie Settings (https://stackoverflow.com/legal/cookie-policy) Cookie Policy (https://stackexchange.com) Stack Exchange Network (https://stackexchange.com/sites#technology) Technology (https://stackexchange.com/sites#culturerecreation) Culture & recreation (https://stackexchange.com/sites#lifearts) Life & arts (https://stackexchange.com/sites#science) Science (https://stackexchange.com/sites#professional) Professional (https://stackexchange.com/sites#business) Business (https://api.stackexchange.com/) API (https://data.stackexchange.com/) Data (https://stackoverflow.blog?blb=1) Blog (https://www.facebook.com/officialstackoverflow/) Facebook (https://twitter.com/stackoverflow) Twitter (https://linkedin.com/company/stack-overflow) LinkedIn (https://www.instagram.com/thestackoverflow) Instagram Site design / logo © 2024 Stack Exchange Inc; user contributions licensed under (https://stackoverflow.com/help/licensing) CC BY-SA . rev 2024.9.2.14718