如何上传文件docker的镜像

2025-04-14 09:03:37
推荐回答(1个)
回答1:

传送文件到镜像的话
1 需要 docker run -ti 镜像 bash
2 docker cp 文件到容器
3 docker tag 改名
4 docker push