Skip to main content

Docker Success Center

The Docker enterprise customer portal.

Docker, Inc.

Warning: Error loading config.json


When trying to run a Docker task or command on Windows 10, you receive the following error — in some cases the command completes:

WARNING: Error loading config file:.docker\config.json - EOF 


Before performing these steps, you must meet the following requirements:

  • Windows 10
  • Docker for Windows


  1. Locate the config.json file located under the .docker folder in your Users folder.
  2. If the file is empty, add { } to the file and save it.
  3. Try the Docker task or command again.