Vim-X | Write Perl functions within Vim | Text Editor library
kandi X-RAY | Vim-X Summary
kandi X-RAY | Vim-X Summary
Write Perl functions within Vim
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of Vim-X
Vim-X Key Features
Vim-X Examples and Code Snippets
Community Discussions
Trending Discussions on Vim-X
QUESTION
I'm trying to copy my ssh-keys into my docker, it's a very simple docker including some LinuxTools via Package Manager. A asking because, I can't come up with a simple solution ADD/COPY seem not to work, using docker-volume or compose seem to be over the top. Please advice.
...ANSWER
Answered 2020-Oct-21 at 18:08You can't copy files into a docker container that live outside of the build directory. This is for security reasons. What you'll need to do is first copy your id_rsa
file into the same directory as your Dockerfile, and then change the ADD
to use the copy you just made, instead of trying to copy it from the absolute path that it is currently using.
I would also suggest changing the ADD
to COPY
, as it is easier to work with and has less unexpected behavior to trip over.
so at your command line:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Vim-X
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page