zoukankan      html  css  js  c++  java
  • docker安装

    curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
    sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
    sudo apt-get update
    apt-cache policy docker-ce


    GPG error: https://apt.dockerproject.org/repo ubuntu-xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F76221572C52609D

    执行:
    sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys
    F76221572C52609D
    sudo apt-get update


    254 sudo apt-get purge lxc-docker
    255 apt-cache policy docker-engine
    256 sudo apt-get update
    257 sudo apt-get purge lxc-docker
    258 apt-cache policy docker-engine
    259 sudo vim /etc/apt/sources.list.d/docker.list
    260 sudo apt-get update
    261 sudo apt-get apt-transport-https
    262 sudo apt-get install apt-transport-https
    263 sudo apt-get install ca-certificates
    264 sudo dpkg -i --force-overwrite /var/cache/apt/archives/libx265-102_2.2-1~16.04.york0_amd64.deb
    265 exit
    266 curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
    267 sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
    268 sudo apt-get update
    269 apt-cache policy docker-ce
    270 sudo apt-get install -y docker-ce
    271 sudo apt-get purge grub-pc grub-common
    272 sudo update-grub
    273 sudo apt-get install -y docker-ce
    274 sudo apt-get update
    275 sudo apt-get install -y docker-ce
    276 service docker start
    277 docker run hello-world
    278 history

    ------------------------------------------------------------

    ubuntu 中文输入法:

    sudo locale-gen

    sudo apt install ibus-pinyin
    sudo apt install ibus-libpinyin

    sudo apt-get install language-pack-zh-hant language-pack-zh-hans

    修改:sudo vi /etc/default/locale

    sudo apt-get install convmv

    sudo dpkg-reconfigure locales选择中文

    修改 /etc/profile

    LANG=zh_CN.UTF-8
    LANGUAGE=zh_CN:zh:en_US:en
    LC_ALL=zh_CN.UTF-8


    退出终端,重新打开(测试使用source不起作用)

  • 相关阅读:
    Linq增删查改
    AspNetPager 分页显示
    简单C#数据库操作类
    SQL重复记录处理(查找,过滤,删除)
    Asp.Net配置Web.config连接数据库SqlServer
    转:Asp.Net网站项目发布到IIS后验证码不能显示的问题解决
    将一行含有日期范围的数据按照单日日期拆分
    asp.net过滤HTML标签的几个函数
    循环批量更新的的存储过程(属于转载)
    CheckBox的CheckedChanged事件获取所在GridView中的Cell值
  • 原文地址:https://www.cnblogs.com/tengpan-cn/p/7872884.html
Copyright © 2011-2022 走看看