1.docker pull报错,无法连接https://registry-1.docker.io/v2/ 报错信息如下:
Error response from daemon:
Get "https://registry-1.docker.io/v2/":
net/http: request canceled while waiting for connection(Client.Timeout exceeded …
文件上传
1. 项目环境准备
首先要确保你的项目中已经添加了必要的依赖。如果你使用的是Maven项目,在pom.xml文件里添加以下依赖:
<dependencies><!-- Spring Web --><dependency><groupId>org.springframework.boot</grou…