大家好
有人知道是否有可能仅从github上拉一个容器吗?我确实有这个链接https://github.com/aws/sagemaker-pytorch-training-toolkit
,我想拉这个链接https://github.com/aws/sagemaker-pytorch-training-toolkit/tree/master/src/sagemaker_pytorch_container
中的容器。
我确实尝试使用build docker build -t https://github.com/abc/sagemaker-pytorch-training-toolkit.git
来仅构建一个文件的图像,但是我不确定init.py
文件是否必要。
谢谢
最佳答案
您走错了路。
pytorch
的 docker ,只需运行docker pull pytorch/pytorch
关于docker - 带有URL路径的Docker满,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64330589/