docker pull提示x509错误的对应方法
google说是证书问题,于是我 echo -n | openssl s_client -showcerts -connect registry.aliyuncs.com:4432>/dev/null | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p'>/etc/ssl/certs/registry.aliyuncs.com.crt echo -n | openssl s_client -showcerts -connect k8s.gcr.io:4432>/dev/null | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p'>/etc/ssl/certs/k8s.gcr.io.crt 无效,还是有问题 虽然x509为认证相关的问题,但是经过确认为虚拟机的时间与实际时间发生过大偏差所导...
pip install Caused by SSLError
pip install lightgbm -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
.netcore docker 使用 UseUrls 绑定端口时无法访问
.netcore docker 使用 UseUrls 绑定端口时无法访问 目录结构 Dockerfile FROM mcr.microsoft.com/dotnet/core/aspnet:3.1-buster-slim AS base WORKDIR /app EXPOSE 8080 COPY ./publish . ENV TZ=Asia/Shanghai ENTRYPOINT ["dotnet","CAS.Api.dll"] 生成容器: docker build -t cas.api . 能够正常启动: docker run -d -p 8080:8080 cas.api docker ps -a 浏览器缺无法访问!!! 服务器是没有打开防火墙的,应该不是这个问题。 进容器内去看看能不能访问: docker exec ...
2021年可用的Microsoft login hosts
2021年可用的Microsoft login hosts 117.28.245.88 logincdn.msauth.net 117.28.245.88 login.live.com 117.28.245.88 account.live.com 117.28.245.88 acctcdn.msauth.net
Centos7里安装minikube
历经千辛万苦,终于在虚拟机里安装好了minikube,记录如下。 环境:宿主机win10,虚拟机virtualbox + centos7,minikube安装在centos7. 步骤: 1.virtualbox中安装centos7,网络选择桥接模式,参考我的上一篇文章设置静态ip 2.centos的硬盘最好给大一点如20G,开始时候我给的8G,结果安装minikube过程中提示no space left,只好扩容虚拟机硬盘,浪费了时间,如果扩容见:https://blog.csdn.net/felcon/article/details/52931882 3.安装docker, yum install docker, 启动docker,systemctl start docker; docker ...
centos 7安装kubectl
1 下载最新release包 curl -LO https://storage<span class="hljs-preprocessor">.googleapis</span><span class="hljs-preprocessor">.com</span>/kubernetes-release/release/$(curl -s https://storage<span class="hljs-preprocessor">.googleapis</span><span class="hljs-preprocessor">.com</span>/kubernetes-release/release/stable<span class="hljs-preprocessor">.txt</span>)/bin/l...
Salesforce VisualForce 使用apex:actionFunction调用后台方法
<apex:inputHidden id="flag" value="{!flag}"/> <apex:actionFunction action="{!searchCon}" name="searchCon1" oncomplete="return savemessage()" reRender="form1"> <apex:param name="uname" assignto="{!username}" value=""/> <apex:param name="pword" assignto="{!password}" value=""/> </apex:actionFunction> function savemessage() { if(document.getElementById("page:form1:flag").value == "false"){ alert("用户名密码错误...