docker context update

描述更新上下文
用法docker context update [选项] 上下文

描述

更新现有上下文。请参阅 context create

选项

选项默认值描述
--description上下文的描述
--docker设置 docker 端点

示例

更新现有上下文

$ docker context update \
    --description "some description" \
    --docker "host=tcp://myserver:2376,ca=~/ca-file,cert=~/cert-file,key=~/key-file" \
    my-context
© . This site is unofficial and not affiliated with Kubernetes or Docker Inc.