本文介绍了docker在MacOs Sierra上失败并显示'MSpanList_Insert 0x8f1000 0x81d2db0339 0x0'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时删除!!

正在运行

docker -v

在MacOs Sierra 10.13.3上显示以下错误,并且docker存在

on MacOs Sierra 10.13.3 following error is printed and docker exists

failed MSpanList_Insert 0x8f1000 0x81d2db0339 0x0
fatal error: MSpanList_Insert

runtime stack:
runtime.throw(0x80d7ab)
/usr/local/go/src/runtime/panic.go:491 +0xad fp=0x7ffeefbfef10 sp=0x7ffeefbfeee0
runtime.MSpanList_Insert(0x846e88, 0x8f1000)
/usr/local/go/src/runtime/mheap.c:692 +0x8f fp=0x7ffeefbfef38 sp=0x7ffeefbfef10
MHeap_FreeSpanLocked(0x843a80, 0x8f1000, 0x100)
/usr/local/go/src/runtime/mheap.c:583 +0x163 fp=0x7ffeefbfef78 sp=0x7ffeefbfef38
MHeap_Grow(0x843a80, 0x8, 0x0)
/usr/local/go/src/runtime/mheap.c:420 +0x1a8 fp=0x7ffeefbfefb8 sp=0x7ffeefbfef78
.....

我已经从docker.com重新安装了docker,并多次重启了系统.问题不会消失

I've re-installed docker from docker.com and reboot the system several times. The problem does not go away

推荐答案

这肯定是由在osx上运行的go的较早版本引起的.对我来说,我删除了通过brew安装的go的旧版本,这样做可以看到系统上所有go的内容

This is definitely caused by older versions of go running on osx.For me I removed older versions of go I had installed via brew, you can see all go's on your system by doing

which -a go

确保只有一个,并且它是最新版本.

make sure you only have one and it's a recent version.

接下来,您应该重新安装该工具,以确保您具有在最新版本的go上编译的版本.

Next you should reinstall the tool to make sure you have a version of it compiled on a recent version of go.

这可能是osx的docker CE https://store .docker.com/editions/community/docker-ce-desktop-mac

This would probably be docker CE for osx https://store.docker.com/editions/community/docker-ce-desktop-mac

我的问题出在kubectl上,所以我改了gcloud components install kubectl.

My issue was with kubectl so I did gcloud components install kubectl instead.

这篇关于docker在MacOs Sierra上失败并显示'MSpanList_Insert 0x8f1000 0x81d2db0339 0x0'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-07 02:05