简体   繁体   中英

Boot2Docker on Mac - Returns bsdthread_register error

I have just installed Boot2Docker 1.2.0 on Mac OSX 10.9.4. When I run any boot2docker command, I get this error:

fatal error: runtime: bsdthread_register error

runtime stack:
runtime.throw(0x522c75)
    /usr/src/go/src/pkg/runtime/panic.c:520 +0x69
runtime.goenvs()
    /usr/src/go/src/pkg/runtime/os_darwin.c:88 +0x62
runtime.schedinit()
    /usr/src/go/src/pkg/runtime/proc.c:164 +0x76
_rt0_go()
    /usr/src/go/src/pkg/runtime/asm_amd64.s:91 +0x114

I also tried using Boot2Docker 1.1.2 with the same problem. Can somebody give me a pointer on where to look?

Thanks, Suriyanto

If running boot2docker from the command line try issuing this command first:

unset DYLD_INSERT_LIBRARIES

Sometimes other programs that have been installed on the system inject themselves into other programs dynamically causing errors like this. unset DYLD_INSERT_LIBRARIES prevent insertion of such dynamic objects from being added to a program at run time.

After spending half a day on this, I decided to install boot2docker through Homebrew and it works. For steps on installing it through Brew, refer to:

http://blog.javabien.net/2014/03/03/setup-docker-on-osx-the-no-brainer-way/ .

Not necessarily the answer, but this will help anybody in the future from getting stucked.

我在尝试安装时遇到了同样的问题,您可以尝试使用sudo命令安装它。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM