Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 291 Bytes

File metadata and controls

9 lines (6 loc) · 291 Bytes

Docker cp to copy files in containers

If you need to copy a file to (or from) a container, one option is to use docker cp, e.g.:

docker cp ./main.js containerName:main.js

See official documentation for more options