Skip to content
This repository was archived by the owner on Feb 27, 2018. It is now read-only.
This repository was archived by the owner on Feb 27, 2018. It is now read-only.

Multiple boot2docker vms all try to use the same port for ssh forwarding #278

@hugoduncan

Description

@hugoduncan

When using multiple boot2docker vms (created with the --vm flag), all vms use the same port for ssh forwarding. This results ins the boot2docker ssh, socket, etc commands reporting information for the wrong vm.

$ vboxmanage showvminfo boot2docker-vm --machinereadable | grep Forwarding
Forwarding(0)="ssh,tcp,127.0.0.1,2022,,22"
$ vboxmanage showvminfo boot2docker-vm2 --machinereadable | grep Forwarding
Forwarding(0)="ssh,tcp,127.0.0.1,2022,,22"

While a ssh port can be specified at init time with --sshport, it took a while to realise this was needed. Some sort of warning mentioning --sshport when specifying a non-default vm name might be sufficient to help others avoid debugging this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions