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

What should I do if docker cannot download the image?

王林
王林 Original
2020-04-15 10:24:51 4141browse

What should I do if docker cannot download the image?

1. Turn off the firewall

systemctl stop firewalld setenforce 0

2. Synchronize time

date -s 20170101

3. Install docker -devel

yum -y install docker-devel

4. Import And export:

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

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!

Statement:
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