首页 > 其他分享 >openEuler 20.03 LTS SP3 安装Docker

openEuler 20.03 LTS SP3 安装Docker

时间:2022-08-31 15:16:08浏览次数:74  
标签:LTS docker SP3 yum https 20.03 Docker

openEuler 20.03 LTS SP3 安装Docker

 


1.添加阿里云的CentOS 8源
参考:https://developer.aliyun.com/mirror/centos

wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-vault-8.5.2111.repo
2.添加Docker官方源
参考:https://docs.docker.com/engine/install/centos/

yum-config-manager \
--add-repo \
https://download.docker.com/linux/centos/docker-ce.repo
3.修改Docker官方源的版本号
默认识别到的是“20.03LTS_SP3”,应该改成8,也就是CentOS 8。

sed -i 's/\$releasever/8/g' /etc/yum.repos.d/docker-ce.repo
4.刷新包缓存
dnf clean all
dnf makecache
5.安装Docker
dnf install docker-ce -y
6.启动并设置自启
systemctl start docker
systemctl enable docker
7.测试验证
docker run hello-world

openEuler

安装docker-compose


安装Python 3.7。

yum install python37 -y


pip3安装
pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple docker-compose

资料均来源与网络

标签:LTS,docker,SP3,yum,https,20.03,Docker
From: https://www.cnblogs.com/songqiang8858/p/16643136.html

相关文章

  • esp32 tcpclient 重启
    xTaskCreate((TaskFunction_t)app_tcp_client,(constchar*)"app_tcp_client",(uint16_t)TCP_SERVER_TASK_STK_SIZE,......
  • openEuler 20.03 LTS SP3 安装Docker
    1.添加阿里云的CentOS8源参考:https://developer.aliyun.com/mirror/centoswget-O/etc/yum.repos.d/CentOS-Base.repohttps://mirrors.aliyun.com/repo/Centos-vault-8......
  • esp32的esp_wifi(wifi驱动库),esp_netif(网络接口) ,lwip(轻量级TCP/IP网络协议栈)是什
    .esp32的esp_wifi(wifi驱动库),esp_netif(网络接口),lwip(轻量级TCP/IP网络协议栈)是什么?三者之间有什么关系?esp_wifi驱动库用户控制wifi硬件单元;lwip是一层纯软件,轻量级......
  • esp32 启动一个任务
    voideth_task(void*pvParameter){ESP_LOGI(TAG_XLI,"ETHIPstart"); tcpip_adapter_ip_info_tip; memset(&ip,0,sizeof(tcpip_adapter_ip_info_t)); vTaskDelay......
  • esp32 获取ip
    ESP_LOGI(TAG_XLI,"ETHIPstart"); tcpip_adapter_ip_info_tip; memset(&ip,0,sizeof(tcpip_adapter_ip_info_t)); if(tcpip_adapter_get_ip_info(TCPIP_ADAPTER_IF_......
  • esp32 自己配置变量
      我自己怎么定义 CONFIG_EXAMPLE_ETH_PHY_ADDR 这个变量idf.py menuconfig 别的example 下有这个变量 我重新写 怎么自己定义一个这种可配置的变量......
  • dsl查询queryResults转page
    privatestaticfinallongserialVersionUID=1L;//元素内容privateList<T>content;//是否有上一页privatebooleanfirst;//是否有下一......
  • ESP32-S2 lwip
    I'mnotabigexpertinlwIP,butIthinkthecodeiscorrect,sinceIspenttimedebuggingitonESP32anditworksverywellthere.Ifonecodefortransmitt......
  • ESP32-S2上使用SPI接口芯片DM9051NP转以太网的无线物联网网关开发指导
    (98条消息)ESP32-S2上使用SPI接口芯片DM9051NP转以太网的无线物联网网关开发指导_qq1667532的博客-CSDN博客_spi转以太网芯片......
  • esp32使用simpleFoc来接入编码器计算角度与速度
    SimpleFOC是国外无刷电机爱好者,创立的一个开源无刷电机FOC控制项目。   第1章首页(simplefoc.cn)用这个库接编码器非常简单   这是文档  编码器设置(sim......