zoukankan      html  css  js  c++  java
  • ubuntu 12.04 install docker-engine1.12.3

    root@node3:/data/src# cat /etc/issue
    Ubuntu 12.04.4 LTS l

     

    root@node3:/data/src# cat /etc/apt/sources.list
    deb http://mirrors.163.com/ubuntu/ precise main universe restricted multiverse
    deb-src http://mirrors.163.com/ubuntu/ precise main universe restricted multiverse
    deb http://mirrors.163.com/ubuntu/ precise-security universe main multiverse restricted
    deb-src http://mirrors.163.com/ubuntu/ precise-security universe main multiverse restricted
    deb http://mirrors.163.com/ubuntu/ precise-updates universe main multiverse restricted
    deb http://mirrors.163.com/ubuntu/ precise-proposed universe main multiverse restricted
    deb-src http://mirrors.163.com/ubuntu/ precise-proposed universe main multiverse restricted
    deb http://mirrors.163.com/ubuntu/ precise-backports universe main multiverse restricted
    deb-src http://mirrors.163.com/ubuntu/ precise-backports universe main multiverse restricted
    deb-src http://mirrors.163.com/ubuntu/ precise-updates universe main multiverse restricted

     
     
    (export LC_ALL=C)
    root@node3:/data/src# apt-get install -y apt-transport-https ca-certificates
    root@node3:/data/src# apt-get install -y linux-image-generic-lts-trusty linux-headers-generic-lts-trusty
     

    root@node3:/data/src# uname -r
    3.13.0-107-generic

     
    root@node3:/data/src# apt-key adv
    --keyserver hkp://ha.pool.sks-keyservers.net:80
    --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
     
     
    root@node3:/data/src# apt-cache policy docker-engine
    root@node3:/data/src# apt-cache madison docker-engine
    root@node3:/data/src# apt-get install -y docker-engine=1.12.3-0~precise
     

    root@node3:/data/src# docker version
    Client:
    Version: 1.12.3
    API version: 1.24
    Go version: go1.6.3
    Git commit: 6b644ec
    Built: Wed Oct 26 21:39:03 2016
    OS/Arch: linux/amd64

    Server:
    Version: 1.12.3
    API version: 1.24
    Go version: go1.6.3
    Git commit: 6b644ec
    Built: Wed Oct 26 21:39:03 2016
    OS/Arch: linux/amd64

  • 相关阅读:
    深入剖析Java中的装箱和拆箱
    JDBC(1)
    设计模式
    MySQL学习笔记(3)
    MySQL学习笔记(2)
    MySQL学习笔记(1)
    tomcat 部署项目出现Error thrown in preDeregister method
    JSP页面中的request.getContextPath()出现“ .... .. refers to the missing type String
    myEclipse 导入 jquery包为什么整个项目都会报错
    走楼梯
  • 原文地址:https://www.cnblogs.com/yuan1978/p/6249658.html
Copyright © 2011-2022 走看看