docker context
描述 | 管理上下文 |
---|---|
用法 | docker context |
描述
管理上下文。
子命令
命令 | 描述 |
---|---|
docker context create | 建立一個上下文 |
docker context export | 將上下文匯出到 tar 歸檔檔案或 STDOUT 上的 tar 流。 |
docker context import | 從 tar 或 zip 檔案匯入上下文 |
docker context inspect | 顯示一個或多個上下文的詳細資訊 |
docker context ls | 列出上下文 |
docker context rm | 刪除一個或多個上下文 |
docker context show | 列印當前上下文的名稱 |
docker context update | 更新上下文 |
docker context use | 設定當前 docker 上下文 |