docker context ls —format “{{ json . }}
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>