January 2022 Archives

fedora35 安装 docker

fedora35 安装docker 之后,直接不能使用,需要root身份使用,如果是其它用户,需要将用户加入docker组当中:

sudo gpasswd -a $USER docker

newgrp docker

sudo systemctl restart docker.socket

sudo systemctl restart docker.service

docker images

这样就可使用其它用户操作dokcer命令啦!

我们可以去docker官方hub站点下载想要的镜像包:

# 下载centos7.9镜像

docker pull centos7.9.2009

# 下载centos8.4镜像

docker pull centos:8.4.2105

即可完成对应下载。

如果不知道对应版本,搜索一下centos,到达centos官方镜像站点,即可查看到对应tag。

Monthly Archives

Pages

Powered by Movable Type 7.9.0

About this Archive

This page is an archive of entries from January 2022 listed from newest to oldest.

December 2021 is the previous archive.

March 2022 is the next archive.

Find recent content on the main index or look in the archives to find all content.