我正在尝试在 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) 使用ubuntu 14.04平台,安装docker:
ubuntu@ubuntu:~$ docker --version
Docker version 1.10.2, build c3959b1
Run Code Online (Sandbox Code Playgroud)
在 docker 中,运行 ubuntu 镜像/容器
root@2a14c4a7b565:/# uname -a
Linux 2a14c4a7b565 3.19.0-25-generic #26~14.04.1-Ubuntu SMP Fri Jul 24 21:16:20 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
root@2a14c4a7b565:/# sudo apt-get install vim
Run Code Online (Sandbox Code Playgroud)
然后它显示logn msg
------
-----
---
Run Code Online (Sandbox Code Playgroud)
终于像这样的最后一行
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/v/vim/vim_7.4.052- 1ubuntu3_amd64.deb Could not resolve 'archive.ubuntu.com'
Run Code Online (Sandbox Code Playgroud)
怎么修?