zhongxia245/blog

【20161103】docker@localhost's password:

zhongxia245 opened this issue · 0 comments

安装Docker

  1. 下载 Docker For Os X Installer

  2. 安装

  3. 打开 boot2docker

可能报 docker@localhost's password: 的问题

解决方案:

boot2docker delete
rm -rf ~/.boot2docker/ ~/.ssh/id_boot2docker*
boot2docker init
boot2docker up
  1. 运行 HelloWorld
docker run ubuntu echo hello world