docker-machine config
docker \
-H=tcp://192.168.1.1:2376 \
--tlsverify \
--tlscacert="[USER_HOME]/.docker/machine/machines/default/ca.pem" \
--tlscert="[USER_HOME]/.docker/machine/machines/default/cert.pem" \
--tlskey="[USER_HOME]/.docker/machine/machines/default/key.pem" \
ps
Alternatively you may run eval $(docker-machine env)
and use docker
or docker-compose
as usually