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 Entry

This page contains a single entry by Cnangel published on January 22, 2022 10:07 PM.

An Unauthenticated RCE Vulnerability In Movable Type / CVE-2021-20837 was the previous entry in this blog.

疫情中的2022春 is the next entry in this blog.

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