docker context update

docker context update

docker context update는 기존 컨텍스트를 갱신하는 명령이에요. 컨텍스트의 설명이나 docker 엔드포인트 구성을 수정하고 싶을 때 써요.

출처: 문서

본문

기존 컨텍스트를 갱신해요. context create를 참고해요.

사용법 (Usage)

docker context update [OPTIONS] CONTEXT

옵션 (Options)

옵션 기본값 설명
--description 컨텍스트에 대한 설명이에요
--docker docker 엔드포인트를 설정해요

예제 (Examples)

기존 컨텍스트 갱신하기

$ docker context update \
    --description "some description" \
    --docker "host=tcp://myserver:2376,ca=~/ca-file,cert=~/cert-file,key=~/key-file" \
    my-context

더 알아보기 (Learn more)