我正在尝试在 vmware 中的 Ubuntu 上安装 docker,但没有成功。这些是我遇到的命令和错误。
sudo apt-get update
sudo apt-get install docker-engine
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package docker-engine
Run Code Online (Sandbox Code Playgroud)
小智 13
尝试 'uname -a' 并确保您运行的是 64 位架构:
无论您的 Ubuntu 版本如何,Docker 都需要 64 位安装。
https://docs.docker.com/engine/installation/linux/ubuntulinux/
正如评论中提到的,你必须
lsb_release -c
/etc/apt/sources.list.d/docker.list
应具有以下内容(没有其他内容):deb https://apt.dockerproject.org/repo ubuntu-VERSION-NAME main
在我的情况下(Ubuntu 14.04 aka 'trusty')我添加了 deb https://apt.dockerproject.org/repo ubuntu-trusty main
归档时间: |
|
查看次数: |
63673 次 |
最近记录: |