メインコンテンツまでスキップ

compute の image を管理する

必要な Docker image を compute に事前に pull して、container の起動を速くし、必要なときにすぐ image を使えるようにします。各 compute の image は、パブリック registry とプライベート registry のものを 1 つの一覧で管理し、image ごとに pull のステータスを確認します。

前提条件​

  • compute が 1 つ以上ある Processing Service があること。Processing Service の compute を管理するを参照してください。
  • プライベート registry を使用する場合は、image を pull できるアカウントのユーザー名と、access token またはパスワードがあること。

image の一覧を表示する​

  1. Data platform → Workspace management を選択し、workspace を選択します。
  2. Overview タブの Services で、Processing Service を選択します。
  3. Computes タブを選択し、compute の名前を選択します。
  4. Images タブを選択します。

compute の詳細ページが開きます。ページのタイトルは compute 名 (例: Compute: processing-1) で、Basic Information と Images の 2 つのタブがあります。Basic Information タブには、compute の Name、Instance type、Worker Type、Number of nodes、Worker Disk Size が表示されます。Actions メニューには Delete があります。

Create ボタンと、Name、URL、Status 列がある image の一覧が表示されている compute の Images タブ

列説明
Nameimage を識別する名前です。
URLregistry 内の image のフルパスです (例: docker.io/nvidia/cuda:13.1.0-devel-ubuntu24.04)。
Statusimage の現在のステータスです。下の表を参照してください。
その他アイコン (⋮)Update、Retry、Delete。
ステータス説明
Readyimage を使用できます。
Progressingimage を pull しています。
Processingimage を処理しています。
Failedpull に失敗しました。
Degradedimage に問題があります。ステータスの横のアイコンを選択すると、ログが開きます。image のログを表示するを参照してください。
Unknownステータスが不明です。

compute に image がまだない場合、タブには「No image yet」と「Create image now」、および Create ボタンが表示されます。

パブリック registry から image を追加する​

パブリック image には認証は不要です。

  1. compute の Images タブで Create を選択します。
  2. Add Image パネルで Name を入力します。
  3. image の URL を入力します。
  4. Enable authentication の選択が解除されていることを確認します。
  5. Test connection を選択して、registry への接続を確認します。
  6. Save を選択します。Save は、接続テストに成功すると選択できるようになります。

Name フィールドと URL フィールド、選択が解除された Enable authentication チェックボックス、Test connection ボタンと Save ボタンがある Add Image パネル

フィールド説明
Name必須。image を識別する名前です。英字、数字、ハイフン (-) を使用できます (例: nginx-latest、cuda-13-1-0)。
URL必須。image のパスです。形式は registry/repository/image-name:tag です (例: docker.io/library/nginx:latest、hub.fci.vn/images/image-name:1.0.3)。
Enable authenticationパブリック image の場合は選択を解除します。プライベート registry の場合は選択します。

image を追加せずにパネルを閉じるには、閉じるアイコン (X) を選択します。

テストに成功すると、ポータルに「Success - Test connection successfully」と表示されます。失敗すると、詳細を含むエラーメッセージが表示されます。

保存すると、ポータルに「Success - Add successfully」と表示されます。image は Progressing として一覧に表示され、pull が完了すると Ready に変わります。

プライベート registry から image を追加する​

  1. compute の Images タブで Create を選択します。
  2. Add Image パネルで、プライベート image の Name と URL を入力します。
  3. Enable authentication を選択します。
  4. Username と Secret を入力します。目のアイコンを選択すると、secret の表示と非表示を切り替えられます。
  5. Test connection を選択して、registry への接続を確認します。
  6. テストに成功したら、Save を選択します。

Enable authentication が選択され、Username フィールドと Secret フィールドがある Add Image パネル

フィールド説明
Username必須。registry のユーザー名または service account です。
Secret必須。access token またはパスワードです。ヒントには「Access token or service account secret」と表示されます。

image が一覧に表示され、入力した認証情報で pull が始まります。

image を更新する​

image の名前、URL、認証設定を変更できます。保存すると、サービスは新しい設定で image を再度 pull します。

  1. image の一覧で、image の行にあるその他アイコン (⋮) を選択し、Update を選択します。
  2. Update Image パネルで、必要なフィールドを変更します。パネルには image の現在の設定が表示されます。
  3. Enable authentication を選択するか、選択を解除します。新しい Username と Secret を入力するには、選択します。image がパブリックの場合は、選択を解除して認証情報を削除します。
  4. Test connection を選択して、新しい設定を確認します。
  5. テストに成功したら、Save を選択します。

image の現在の Name と URL、Enable authentication チェックボックスがある Update Image パネル

Name には、image を追加するときと同じルール (英字、数字、ハイフン) が適用されます。

image を再度 pull する​

ステータスが Failed または Degraded の image は、Retry で再度 pull します。

  1. image の一覧で、image の行にあるその他アイコン (⋮) を選択し、Retry を選択します。
  2. Retry compute image ダイアログで image 名を確認し、Confirm を選択します。

cuda image の再試行の確認を求める、Cancel ボタンと Confirm ボタンがある Retry compute image ダイアログ

ダイアログには、「Are you sure you want to retry this compute image:」に続いて image 名が表示されます。

image を削除する​

compute で使用しなくなった image は削除します。

  1. image の一覧で、image の行にあるその他アイコン (⋮) を選択し、Delete を選択します。
  2. Delete compute image ダイアログで、delete と小文字で入力します。Confirm が選択できるようになります。
  3. Confirm を選択します。

確認ボックスに delete が入力され、Confirm ボタンがある Delete compute image ダイアログ

危険

image の削除は元に戻せません。

image のログを表示する​

image が Degraded の場合は、ログを読んで問題の原因を調べます。

  1. image の一覧で、ステータスが Degraded の image を探します。ステータスの横に情報アイコン (ⓘ) が表示されます。
  2. 情報アイコン (ⓘ) を選択します。Logs ダイアログに image のログが表示されます。
  3. ログを読んで、エラーの原因を調べます。
  4. 閉じるアイコン (X) を選択して、image の一覧に戻ります。

次のステップ​