[toc] docker网络 docker的网络比较简单,其实只要是对vmware workstation的网络有所理解的话都能很好的理解docker的网络模式。 Docker容器的网络模式 1. bridge模式,让容器跟docker0网卡桥接。上网通过nat上网,这其实就是vmware work ...
分类:
其他好文 时间:
2020-01-31 20:32:08
阅读次数:
95
#方式一: from multiprocessing import Process # 开启子进程 import time def task(name): print("%s is running" % name) time.sleep(3) print("%s is done" % name) i ...
分类:
系统相关 时间:
2020-01-31 15:52:27
阅读次数:
72
Several ports (8080, 8009) required by Tomcat v9.0 Server at localhost are already in use. The server may already b e running in another process, or a ...
分类:
其他好文 时间:
2020-01-31 10:37:59
阅读次数:
84
show status like 'Threads%'; Threads_cached 5 (当前线程缓存中有多少空闲线程)Threads_connected 127 (当前连接的线程)Threads_created 7295 (从数据库启动,已经创建过的线程)Threads_running 1 ( ...
分类:
其他好文 时间:
2020-01-31 10:27:05
阅读次数:
74
Docker compose https://docs.docker.com/compose/ Compose is a tool for defining and running multi-container Docker applications. With Compose, you use ...
分类:
其他好文 时间:
2020-01-30 21:11:04
阅读次数:
80
1、配置ssh (1)基本语法,ssh 另一台电脑的ip地址 [root@localhost ~]# ssh root@192.168.1.220 The authenticity of host '192.168.1.220 (192.168.1.220)' can't be establishe ...
分类:
系统相关 时间:
2020-01-30 17:09:26
阅读次数:
178
官网链接 https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/ 一、在master安装 kubectl apply -f https://raw.githubusercontent.com/kube ...
分类:
Web程序 时间:
2020-01-29 20:13:03
阅读次数:
100
In the "100 game," two players take turns adding, to a running total, any integer from 1..10. The player who first causes the running total to reach o ...
分类:
编程语言 时间:
2020-01-29 10:50:52
阅读次数:
93
Clair地址 https://github.com/quay/clair/blob/master/Documentation/running-clair.md claricli地址 https://github.com/joelee2012/claircli 安装配置 mkdir $PWD/cla ...
分类:
其他好文 时间:
2020-01-27 17:12:46
阅读次数:
313
import multiprocessing as mp import time def name_and_time(name,num): print(f"Hello {name}, current time is {time.time()} ({num})") print('Sleeping fo ...
分类:
编程语言 时间:
2020-01-27 10:57:11
阅读次数:
74