v8-甲骨文ARM服务器Oracle Linux v8系统安装Docker

date
May 15, 2022
slug
tip-oracle-arm-aarch64-install-docker-v8
status
Published
summary
小技巧 Oracle v8
tags
tip
type
Post
URL

Problem & Summary

  • 还没试过,就是先存个档

Solution

获取Oracle Linux的版本

# get Oracle Linux version
cat /etc/oracle-release
ls -l /etc/*-release
cat /etc/*-release

安装

dnf install -y dnf-utils zip unzip
dnf config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo

dnf remove -y runc
dnf install -y docker-ce --nobest

systemctl enable --now docker.service

docker info
docker version

或许试试Podman

dnf install -y podman podman-docker
dnf install -y buildah skopeo
dnf install -y dnf-utils zip unzip tar gzip git
notion image
vi /etc/containers/registries.conf

# From:
[registries.search]
registries = ['container-registry.oracle.com', 'registry.access.redhat.com', 'registry.redhat.io']

# To:
[registries.search]
registries = ['container-registry.oracle.com', 'docker.io', 'registry.access.redhat.com', 'registry.redhat.io']
notion image

© Ying Bun 2021 - 2024