0

I installed docker with my required files but now I need to edit and save into docker I tried with nano but unfortunately unable to install and also I tried with vim but it does not work.

So i searched for it finally I founded it (How to edit file after I shell to a docker container?) in this question, the 2nd answer is an easy way to edit but I don't know how to copy files from the live server(aws) into local.

Please help me how to do this. thanks in advance...!

sardhar
  • 25
  • 6
  • 1
    If you `ssh` into the AWS instance, you can use `scp` to copy files to and from it. – Ingo Karkat Jan 11 '18 at 12:05
  • 1
    i dont know how to copy using scp where will i find scp?? im a beginner for aws and docker so only i struggling a lot – sardhar Jan 11 '18 at 12:40
  • As a beginner, please give more context in your questions. I assume your local system runs Windows (as Linux usually has both `ssh` and `scp`). There's `pscp` if you use PuTTY, or just install [WinSCP](https://winscp.net/eng/index.php); that's a proper tool for noobs :-) – Ingo Karkat Jan 11 '18 at 13:55
  • yes offcourse my local system is windows i'm using putty now.WinSCP is a good one ...anyway thank you for your response...! – sardhar Jan 12 '18 at 05:40
  • but i tried with winscp using hostname and proper credintials.it connected into server but nothing displays (i mean there is no folders or files) but in my aws server i installed docker and some contents please help me how to do this? – sardhar Jan 12 '18 at 06:40
  • Sorry, but this kind of troubleshooting is just not possible, with this little information and in a chat. Can't you ask an onsite colleague to give you a helping hand?! You seem to be trying to do things that are way over your head. – Ingo Karkat Jan 12 '18 at 10:20
  • please refer [here](https://stackoverflow.com/questions/22049212/copying-files-from-docker-container-to-host) it will helpful for you – heart hacker Jan 12 '18 at 10:29

0 Answers0