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.

'boot2docker init' fails with unicode characters in user's home folder path #336

@RomanSaveljev

Description

@RomanSaveljev

The issue presents on Windows 7 at least. I have boot2docker-cli 1.4.1

C:\Users\Käkä>boot2docker -v init
Boot2Docker-cli version: v1.4.1
Git commit: 43241cb
2015/01/14 15:23:39 executing: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe showvminfo boot2docker-vm --machinereadable
2015/01/14 15:23:39 executing: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe showvminfo boot2docker-vm --machinereadable
2015/01/14 15:23:39 executing: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe list vms
2015/01/14 15:23:39 executing: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe createvm --name boot2docker-vm --register
Virtual machine 'boot2docker-vm' is created and registered.
UUID: ab67523c-b497-42ba-ad17-f18a23d9b0be
Settings file: 'c:\Users\Käkä\VirtualBox VMs\boot2docker-vm\boot2docker-vm.vbox'
2015/01/14 15:23:39 executing: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe showvminfo boot2docker-vm --machinereadable
2015/01/14 15:23:39 executing: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe setextradata boot2docker-vm VBoxInternal/CPUM/EnableHVP 1
2015/01/14 15:23:39 executing: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe modifyvm boot2docker-vm --firmware bios --bioslogofadein of
f --bioslogofadeout off --bioslogodisplaytime 0 --biosbootmenu disabled --natdnshostresolver1 off --natdnsproxy1 off --ostype Linux26_64 --c
pus 4 --memory 2048 --vram 8 --acpi on --ioapic on --rtcuseutc on --cpuhotplug off --pae on --longmode on --synthcpu off --hpet on --hwvirte
x on --triplefaultreset off --nestedpaging on --largepages on --vtxvpid on --vtxux off --accelerate3d off --uart1 0x3F8 4 --uartmode1 server
 \\.\pipe\boot2docker-vm --boot1 dvd
2015/01/14 15:23:39 executing: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe showvminfo boot2docker-vm --machinereadable
2015/01/14 15:23:39 executing: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe modifyvm boot2docker-vm --nic1 nat --nictype1 virtio --cabl
econnected1 on
2015/01/14 15:23:39 executing: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe controlvm boot2docker-vm natpf1 ssh,tcp,127.0.0.1,2022,,22
2015/01/14 15:23:39 executing: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe list hostonlyifs
2015/01/14 15:23:40 executing: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe list dhcpservers
2015/01/14 15:23:40 executing: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe modifyvm boot2docker-vm --nic2 hostonly --nictype2 virtio -
-cableconnected2 on --hostonlyadapter2 VirtualBox Host-Only Ethernet Adapter #4
2015/01/14 15:23:40 executing: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe storagectl boot2docker-vm --name SATA --add sata --portcoun
t 4 --hostiocache on --bootable on
2015/01/14 15:23:40 executing: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe storageattach boot2docker-vm --storagectl SATA --port 0 --d
evice 0 --type dvddrive --medium C:\Users\Käkä\.boot2docker\boot2docker.iso
error in run: Failed to initialize machine "boot2docker-vm": mkdir c:\Users\K�k�: Käyttö estetty.

My user name is Käkä and it tries to create the disk image in the wrong directory.

chcp tells 850. boot2docker still fails when I switch the codepage to 65001 (unicode). Perhaps, there is something wrong in the CLI code itself?

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