Search code examples
dockerwindows-8.1virtual-machineboot2docker

Kitematic Setup Error Docker


I have this error on the Kitematic Setup

ENOENT: no such file or directory, open 'C:\Users\<redacted>\ca.pem'

I've tried to retry the setup or delete the VM, but nothing works...

If someone have an idea ?

error


Solution

  • I think the problem is that in some parts the VM is referred as "dev" whereas in some other parts (like the real physical path where the VM files are stored, etc) is referred as "default"

    What I've done is just regenerate the certificates using the proper VM name and it now works!

    Run from the Windows command line:

    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
    
    C:\Program Files\Docker Toolbox>docker-machine regenerate-certs -f dev
    Regenerating TLS certificates
    Error: Host does not exist: dev
    
    C:\Program Files\Docker Toolbox>docker-machine regenerate-certs -f default
    Regenerating TLS certificates
    
    C:\Program Files\Docker Toolbox>
    

    And that will do the trick!