Suppose the container name is myubuntu, and the file path to be copied from the host is /root/1.py, now copy the 1.py file to the /home path of the container, but an
error "docker cp" requires exactly 2 arguments. , it means that the format of the path is wrong, maybe there is an extra space.
At this time, you only need to remove the extra space.
docker cp“ requires exactly 2 arguments
Guess you like
Origin blog.csdn.net/m0_56192771/article/details/123765717
Recommended
Ranking