File import and export of docker container

Copy the files on the host to the docker container

docker cp /path/filename 容器id或名称:/path/filename

You can also copy the files inside the docker container to the local

docker cp 容器id或名称:/path/filename /path/filename

Guess you like

Origin blog.csdn.net/weixin_44455388/article/details/108661689