Copying files from Docker container to host

后端 未结 18 2254
小蘑菇
小蘑菇 2020-11-22 13:39

I\'m thinking of using Docker to build my dependencies on a Continuous Integration (CI) server, so that I don\'t have to install all the runtimes and libraries on the agents

18条回答
  •  悲哀的现实
    2020-11-22 14:10

    Create a path where you want to copy the file and then use:

    docker run -d -v hostpath:dockerimag
    

提交回复
热议问题