代理下的boot2docker返回Forbidden

在docker中绝对比较新,我只是下载并安装了windows的boot2docker,一旦vm被加载,在/ var / lib / boot2docker / profile文件中设置代理(和NO_PROXY)设置,然后重新启动虚拟机。

问题是我试图search/拉图像时得到一个禁止的错误:

docker@boot2docker:~$ docker search ubuntu FATA[0000] Error response from daemon: Get https://index.docker.io/v1/search?q=ubuntu: Forbidden 

另一个样本:

  docker@boot2docker:~$ docker pull hello-world Pulling repository hello-world FATA[0000] Get https://index.docker.io/v1/repositories/library/hello-world/images: Forbidden 

任何线索?