ubuntu16.04 安装docker

1、Docker requires a 64-bit installation regardless of your Ubuntu version. Additionally, your kernel must be 3.10 at minimum.

2、To check your current kernel version,  uname -r

3、Note: If you previously installed Docker using APT, make sure you update your APT sources to the new Docker repository.

    1、Update your apt sources

    2、Update package information, ensure that APT works with the https method, and that CA certificates are installed.

    3、sudo apt-get install apt-transport-https ca-certificates

    4、sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D

    5、Open the /etc/apt/sources.list.d/docker.list file in your favorite editor.  If the file doesn’t exist, create it.

    6、Remove any existing entries.   Add an entry for ubuntu16.04   deb https://apt.dockerproject.org/repo ubuntu-xenial main

    7、Save and close the /etc/apt/sources.list.d/docker.list file.

    8、apt-get update;apt-get purge lxc-docker;apt-cache policy docker-engine

4、For Ubuntu Trusty, Wily, and Xenial, it’s recommended to install the linux-image-extra kernel package. The linux-image-extrapackage allows you use the aufs storage driver.

    1、sudo apt-get install linux-image-extra-$(uname -r)

5、sudo apt-get install docker-engine

6、sudo service docker start

7、sudo docker run hello-world

8、This command downloads a test image and runs it in a container. When the container runs, it prints an informational message. Then, it exits.

时间: 2024-08-28 13:06:51

ubuntu16.04 安装docker的相关文章

Ubuntu16.04安装Docker 入门

Ubuntu16.04安装Docker,基本使用入门 Ubuntu16.04安装Docker [email protected]: ~# apt install docker.io -y 查看当前版本 [email protected]:~# docker -v Docker version 1.9.1, build a34a1d5 [email protected]:~# dpkg -l | grep docker rc  docker.io                         

Ubuntu16.04安装docker

转自:http://www.cnblogs.com/lighten/p/6034984.html 本篇主要翻译一下官方指导ubuntu下安装docker指南,方便查阅,官方指导网址:https://docs.docker.com/engine/installation/linux/ubuntulinux/ .这篇文章主要指导你去安装使用Docker-managed发布包及其安装机制.使用这些包确保你获得最近的docker官方发布版本.如果你需要安装使用Ubuntu-managed包,查阅Ubun

ubuntu16.04安装docker图形管理界面portainer

下载镜像 docker pull portainer/portainer 单机版运行 docker run -d --name portainer -p 9000:9000 --restart=always -v /var/run/docker.sock:/var/run/docker.sock portainer/portainer 访问方式:http://IP:9000 原文地址:https://www.cnblogs.com/aric2016/p/12045255.html

Ubuntu16.04安装kubernetes1.13集群

Ubuntu16.04安装kubernetes1.13集群 最新的安装可以使用以下方式:https://www.cnrancher.com/docs/rancher/v2.x/cn/overview/quick-start-guide 方便,快捷! 以下为正文. 前言 Docker容器化,虚拟化技术上的又一个猛将,可以极高提高软件部署的速度.运行一个Docker容器,这个容器作为一个进程分配了计算资源,不同容器之间资源隔离,仿佛每个容器都是一台机器, 并且通过宿主机网桥,可以模拟一个局域网.可以

Ubuntu16.04安装tensorflow+安装opencv+安装openslide+安装搜狗输入法

Ubuntu16.04在cuda以及cudnn安装好之后,安装tensorflow,tensorflow以及opencv可以到网上下载对应的安装包并且直接在安装包所在的路径下直接通过pip与conda进行安装,如下图所示: 前提是要下载好安装包.安装好tensorflow之后还需要进行在~/.bashrc文件中添加系统路径,如下图所示 Openslide是医学图像一个重要的库,这里给出三条命令进行安装 sudo apt-get install openslide-tools sudo apt-g

Ubuntu16.04安装opencv for python/c++

Ubuntu16.04安装opencv for python/c++ 网上关于opencv的安装已经有了不少资料,但是没有一篇资料能让我一次性安装成功,因此花费了大量时间去解决各种意外,希望这篇能给一些人带去便利,节省时间. 1.安装OpenCV所需的库 1 sudo apt-get install build-essential 2 sudo apt-get install cmake git libgtk2.0-dev pkg-config libavcodec-dev libavforma

Ubuntu16.04 安装JDK Tomcat

Ubuntu16.04安装jdk,下载linux中的64版本 需要下载jdk,tomcat安装包 tar.gz版本的 http://pan.baidu.com/s/1mi4WVhA 安装JDK: [email protected]:~$ sudo mkdir /java [sudo] hongdada 的密码: hongdada[email protected]:~$ cd /Downloads bash: cd: /Downloads: 没有那个文件或目录 [email protected]:

Linux入门(9)——Ubuntu16.04安装flash player

打开网页经常提示安装flash player,不安装flash player很多网页的视频都看不了. Ubuntu16.04安装flash player 打开终端,输入: sudo apt-get install flashplugin-installer

ubuntu16.04安装部署监控系统zabbix2.4

Ubuntu16.04安装部署监控系统Zabbix2.4 第一部分,php+mysql+nginx组件安装 1.系统更新 sudo apt-get update && sudo apt-get upgrade 2.安装php-fpm 检索系统当前自带的PHP版本:apt-cache search php-fpm 安装依赖包:sudo apt-get install make  bison g++ build-essential libncurses5-dev cmake 安装php-fpm