Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

machine change ip addresses after reboot the host. #540

@rossbachp

Description

@rossbachp

I create and remove some machines. After reboot my Mac the ip address are don't stable. The DHCP virtualbox daemon use the first one...

$ docker-machine ls
NAME     ACTIVE   DRIVER       STATE     URL
dev2              virtualbox   Stopped   
dev3              virtualbox   Stopped   
tomcat   *        virtualbox   Stopped   
$ docker-machine start tomcat
INFO[0000] Waiting for VM to start...                   
$ docker $(docker-machine config tomcat) ps
FATA[0000] An error occurred trying to connect: Get https://192.168.99.100:2376/v1.16/containers/json: x509: certificate is valid for 192.168.99.103, not 192.168.99.100 

How I can regenerate the certs and upload it to the box?
The original boot2docker regenerate the certs after an ip address change...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions