在docker服务器上添加新的镜像后想在rancher中部署运行,通过docker image ls可以看到镜像存在,但是在通过rancher添加部署的时候却出现以下错误。 Failed to pull image "data-center-catalog:latest": rpc error: c ...
分类:
其他好文 时间:
2020-08-10 15:51:51
阅读次数:
121
原文:https://www.cnblogs.com/longxok/p/10997368.html 其实原文已经讲的很详细了,补充自己遇到的几个地方。 cmd窗口太小了,很多内容根本就看不到。 命令 查看端口占用:netstat -aon|findstr 80 通过pid找到对应的进程名称:tas ...
分类:
编程语言 时间:
2020-08-10 15:49:18
阅读次数:
82
在进行数据库表结构设计时,最优性能设计建议如下:1、客户端IP两种存储方式(不考虑ipv6):1)、int2)、char(10)性能上考虑推荐使用int。2、有些表的电话号码改成varchar(12),严格上使用char(11),有多少位用多少。3、有些状态字段:如success,failed等用0/1来表示更好,所以用tinyint来代替varchar类型。4、相关表的保留字段去掉,后期有需要时
分类:
数据库 时间:
2020-08-10 15:47:15
阅读次数:
75
# sudo pip3.5 install docker-compose 安装docker-compose的时候报错如下: no previously-included directories found matching 'docs/_build' warning: no previously-i ...
分类:
系统相关 时间:
2020-08-10 14:26:22
阅读次数:
180
yum报rpmdb错执行yum提示错误:rpmdb:BDB0113Thread/process424227/139826856310848failed解决方法:cd/var/lib/rpmlsfind./-name"db"|xargs-I{}mv{}bdbak/或rm-rf__db*rpm--rebuilddb
分类:
数据库 时间:
2020-08-09 13:10:42
阅读次数:
103
NS3入门与安装 rical730 2017-05-10 09:32:28 11666 收藏 18 分类专栏: 网络 版权 可以参考的资料 网络仿真软件的比较 http://yangfei1.blog.51cto.com/1471532/295103 ns2,ns3 快速入门,有什么网站资料? ht ...
分类:
其他好文 时间:
2020-08-05 16:55:19
阅读次数:
94
基本的套接字编程 socket函数 想要执行网络I/O,首先需要调用socket函数创建套接字,需要头文件#include <sys/socket.h> int socket (int domain, int type, int protocol); 参数: domain : 执行协议域,取值如下: ...
分类:
其他好文 时间:
2020-08-03 00:47:48
阅读次数:
82
# coding: utf-8 import socket from urllib.parse import urlparse def get_url(url): url = urlparse(url) host = url.netloc path = url.path if path == "": ...
分类:
编程语言 时间:
2020-08-02 16:13:18
阅读次数:
115
某些具体程序要求待未发送完的数据发送出去后再关闭socket,可通过设置让程序满足要求: struct linger { u_short l_onoff; u_short l_linger; }; struct linger m_sLinger; m_sLinger.l_onoff = 1; //在 ...
分类:
其他好文 时间:
2020-08-02 12:49:38
阅读次数:
84
在dependencies中添加 androidTestCompile('com.android.support:support-annotations:26.1.0') { force = true} 添加后的效果: ...
分类:
移动开发 时间:
2020-07-31 21:46:18
阅读次数:
108