簡體   English   中英

帶有 URL 路徑的 Docker

[英]Docker full with URL path

大家好,

任何人都知道是否可以從 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文件,我不確定有必要。

謝謝

你走錯了路。

  1. Github 不存儲 docker 圖像,因此您無法從那里提取它。
  2. AWS Sagemaker 提供預構建的鏡像,您只需在創建實例時選擇要使用的鏡像。 請參閱https://docs.aws.amazon.com/sagemaker/latest/dg/howitworks-create-ws.html
  3. 如果你需要一個帶有pytorch ,只需運行docker pull pytorch/pytorch

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM