当前位置:   article > 正文

Ubuntu安装Docker和MySQL_ubuntu安装docker与mysql

ubuntu安装docker与mysql

Docker

在Ubuntu上安装

# 卸载旧版本
sudo apt-get remove docker docker-engine docker.io containerd runc

# 更新 apt
sudo apt-get update

# 安装 apt包依赖
sudo apt-get install \
    apt-transport-https \
    ca-certificates \
    curl \
    gnupg-agent \
    software-properties-common
    
# 添加 Docker 的官方 GPG 密钥
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -

# 下载稳定版仓库
sudo add-apt-repository 
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/AllinToyou/article/detail/335920
推荐阅读
相关标签
  

闽ICP备14008679号