mirror of https://github.com/docker/docs.git
29 lines
619 B
Markdown
29 lines
619 B
Markdown
---
|
|
description: Show client configuration
|
|
keywords: machine, config, subcommand
|
|
title: docker-machine config
|
|
---
|
|
|
|
```none
|
|
Usage: docker-machine config [OPTIONS] [arg...]
|
|
|
|
Print the connection config for machine
|
|
|
|
Description:
|
|
Argument is a machine name.
|
|
|
|
Options:
|
|
|
|
--swarm Display the Swarm config instead of the Docker daemon
|
|
```
|
|
|
|
For example:
|
|
|
|
```none
|
|
$ docker-machine config dev \
|
|
--tlsverify \
|
|
--tlscacert="/Users/ehazlett/.docker/machines/dev/ca.pem" \
|
|
--tlscert="/Users/ehazlett/.docker/machines/dev/cert.pem" \
|
|
--tlskey="/Users/ehazlett/.docker/machines/dev/key.pem" \
|
|
-H tcp://192.168.99.103:2376
|
|
``` |