Useful or not, from you.
for-win docker.errors.TLSParameterError

Every time I run docker-compose I get the same error (see below). It worked fine yesterday, I haven't changed anything.

I'm using the Hyper-V version of Docker. Hyper-V is enabled.

Docker Toolbox works fine with my compose file. Also on Linux docker-compose works too.

  • [x] I have tried with the latest version of my channel (Stable or Edge)
  • [x] I have uploaded Diagnostics
  • Diagnostics ID: 16A5EF7D-D107-454F-99A9-37FAD45BA40F/20181006230827

Expected behavior

Start services in docker-compose config.

Actual behavior

docker-compose up
Traceback (most recent call last):
  File "docker-compose", line 6, in <module>
  File "compose\cli\main.py", line 71, in main
  File "compose\cli\main.py", line 124, in perform_command
  File "compose\cli\command.py", line 38, in project_from_options
  File "compose\cli\docker_client.py", line 84, in tls_config_from_options
  File "site-packages\docker\tls.py", line 81, in __init__
docker.errors.TLSParameterError: Path to a certificate and key files must be provided through the client_config param. TLS configurations should map the Docker CLI client configurations. See https://docs.docker.com/engine/articles/https/ for API details.
[1732] Failed to execute script docker-compose

Information

  • Windows Version: 10
  • Docker for Windows Version: 18.06.1-ce-win73 (19507)

Steps to reproduce the behavior

  1. Start Docker
  2. Run docker-compose up
That's a useful answer
Without any help

I was able to use Docker again after I removed all the environment variables that were (I think) set by Docker Toolbox (DOCKER_*).

Works like a charm, one addition: you have to restart machine, after remove variables