Home > Operation and Maintenance > Docker > What should I do if docker cannot download the image?

What should I do if docker cannot download the image?

王林
Release: 2020-04-15 10:24:51
Original
4248 people have browsed it

What should I do if docker cannot download the image?

1. Turn off the firewall

systemctl stop firewalld
setenforce 0
Copy after login

2. Synchronize time

date -s 20170101
Copy after login

3. Install docker -devel

yum -y install docker-devel
Copy after login

4. Import And export:

docker save id号 >  /opt/      导出
docker load <     导入
docker tag  c3987965c15d centos:7    改名
Copy after login

Recommended tutorial: docker tutorial

The above is the detailed content of What should I do if docker cannot download the image?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template