Search Preview
Docker - 海运的博客
haiyun.me海运的博客 首页 关于 分析网站 文章归档 参考手册 在线工具 常用命令
.me > haiyun.me
SEO audit: Content analysis
Language | Error! No language localisation is found. | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Title | Docker - 海运的博客 | ||||||||||||||||||||||||||||||||||||
Text / HTML ratio | 52 % | ||||||||||||||||||||||||||||||||||||
Frame | Excellent! The website does not use iFrame solutions. | ||||||||||||||||||||||||||||||||||||
Flash | Excellent! The website does not have any flash contents. | ||||||||||||||||||||||||||||||||||||
Keywords cloud | docker EOF make > cat binbash install <容器ID> start wget inspect `docker q` cd etcs6nginx << chmod configure zxvf tar | ||||||||||||||||||||||||||||||||||||
Keywords consistency |
|
||||||||||||||||||||||||||||||||||||
Headings |
|
||||||||||||||||||||||||||||||||||||
Images | We found 1 images on this web page. |
SEO Keywords (Single)
Keyword | Occurrence | Density |
---|---|---|
docker | 19 | 0.95 % |
EOF | 6 | 0.30 % |
make | 6 | 0.30 % |
> | 5 | 0.25 % |
cat | 5 | 0.25 % |
binbash | 4 | 0.20 % |
install | 4 | 0.20 % |
<容器ID> | 4 | 0.20 % |
start | 4 | 0.20 % |
wget | 4 | 0.20 % |
inspect | 3 | 0.15 % |
`docker | 3 | 0.15 % |
q` | 3 | 0.15 % |
cd | 3 | 0.15 % |
etcs6nginx | 3 | 0.15 % |
<< | 3 | 0.15 % |
chmod | 3 | 0.15 % |
configure | 3 | 0.15 % |
zxvf | 3 | 0.15 % |
tar | 3 | 0.15 % |
SEO Keywords (Two Word)
Keyword | Occurrence | Density |
---|---|---|
ps a | 3 | 0.15 % |
cat > | 3 | 0.15 % |
make make | 3 | 0.15 % |
make install | 3 | 0.15 % |
tar zxvf | 3 | 0.15 % |
configure make | 3 | 0.15 % |
<< EOF | 3 | 0.15 % |
EOF binbash | 3 | 0.15 % |
EOF chmod | 3 | 0.15 % |
chmod x | 3 | 0.15 % |
`docker ps | 2 | 0.10 % |
mkdir p | 2 | 0.10 % |
docker rmi | 2 | 0.10 % |
docker start | 2 | 0.10 % |
docker inspect | 2 | 0.10 % |
install wget | 2 | 0.10 % |
docker rm | 2 | 0.10 % |
a q` | 2 | 0.10 % |
导入镜像: docker | 2 | 0.10 % |
No Comments | 2 | 0.10 % |
SEO Keywords (Three Word)
Keyword | Occurrence | Density | Possible Spam |
---|---|---|---|
<< EOF binbash | 3 | 0.15 % | No |
EOF chmod x | 3 | 0.15 % | No |
configure make make | 3 | 0.15 % | No |
make make install | 3 | 0.15 % | No |
`docker ps a | 2 | 0.10 % | No |
ps a q` | 2 | 0.10 % | No |
make install wget | 2 | 0.10 % | No |
分类:Docker No Comments | 2 | 0.10 % | No |
海运的博客 首页 关于 | 1 | 0.05 % | No |
Linux基础 18 欧诺代理 | 1 | 0.05 % | No |
欧诺代理 2 Linux服务 | 1 | 0.05 % | No |
18 欧诺代理 2 | 1 | 0.05 % | No |
日记分析 10 Linux基础 | 1 | 0.05 % | No |
2 Linux服务 18 | 1 | 0.05 % | No |
Linux服务 18 系统监控 | 1 | 0.05 % | No |
18 系统监控 4 | 1 | 0.05 % | No |
系统监控 4 流量监控 | 1 | 0.05 % | No |
10 Linux基础 18 | 1 | 0.05 % | No |
11 常用软件 20 | 1 | 0.05 % | No |
20 日记分析 10 | 1 | 0.05 % | No |
SEO Keywords (Four Word)
Keyword | Occurrence | Density | Possible Spam |
---|---|---|---|
configure make make install | 3 | 0.15 % | No |
make make install wget | 2 | 0.10 % | No |
`docker ps a q` | 2 | 0.10 % | No |
海运的博客 首页 关于 分析网站 | 1 | 0.05 % | No |
3 备份存储 11 常用软件 | 1 | 0.05 % | No |
2 Linux服务 18 系统监控 | 1 | 0.05 % | No |
欧诺代理 2 Linux服务 18 | 1 | 0.05 % | No |
18 欧诺代理 2 Linux服务 | 1 | 0.05 % | No |
Linux基础 18 欧诺代理 2 | 1 | 0.05 % | No |
10 Linux基础 18 欧诺代理 | 1 | 0.05 % | No |
日记分析 10 Linux基础 18 | 1 | 0.05 % | No |
20 日记分析 10 Linux基础 | 1 | 0.05 % | No |
常用软件 20 日记分析 10 | 1 | 0.05 % | No |
11 常用软件 20 日记分析 | 1 | 0.05 % | No |
备份存储 11 常用软件 20 | 1 | 0.05 % | No |
网站程序 3 备份存储 11 | 1 | 0.05 % | No |
18 系统监控 4 流量监控 | 1 | 0.05 % | No |
9 网站程序 3 备份存储 | 1 | 0.05 % | No |
VMware 9 网站程序 3 | 1 | 0.05 % | No |
1 VMware 9 网站程序 | 1 | 0.05 % | No |
Internal links in - haiyun.me
关于 - 海运的博客
分析网站 - 海运的博客
文章归档 - 海运的博客
参考手册 - 海运的博客
在线工具 - 海运的博客
常用命令 - 海运的博客
centos repo管理使用 - 海运的博客
centos/debian自动通过网络远程安装系统配置脚本 - 海运的博客
IPXE网络引导通过kickstart和preseed自动安装centos/ubuntu/debian系统 - 海运的博客
使用kickstart安装ubuntu - 海运的博客
Centos/linux ipv4优先 - 海运的博客
海运的博客
海运的博客
海运的博客
海运的博客
海运的博客
PHP - 海运的博客
IIS - 海运的博客
Mail - 海运的博客
DNS - 海运的博客
Cacti - 海运的博客
Squid - 海运的博客
Nagios - 海运的博客
Puppet - 海运的博客
CentOS - 海运的博客
Iptables - 海运的博客
RADIUS - 海运的博客
OpenWrt - 海运的博客
DD-WRT - 海运的博客
VMware - 海运的博客
网站程序 - 海运的博客
备份存储 - 海运的博客
常用软件 - 海运的博客
日记分析 - 海运的博客
Linux基础 - 海运的博客
欧诺代理 - 海运的博客
Linux服务 - 海运的博客
系统监控 - 海运的博客
流量监控 - 海运的博客
虚拟化 - 海运的博客
伪静态 - 海运的博客
LVM - 海运的博客
Shell - 海运的博客
高可用 - 海运的博客
数据库 - 海运的博客
FreeBSD - 海运的博客
网络安全 - 海运的博客
Windows - 海运的博客
网络工具 - 海运的博客
控制面板 - 海运的博客
系统调优 - 海运的博客
Cisco - 海运的博客
VPN - 海运的博客
ROS - 海运的博客
Vim - 海运的博客
KMS - 海运的博客
PXE - 海运的博客
Mac - 海运的博客
Git - 海运的博客
PE - 海运的博客
LNS - 海运的博客
Xshell - 海运的博客
Firefox - 海运的博客
Cygwin - 海运的博客
OpenSSL - 海运的博客
Sandboxie - 海运的博客
StrokesPlus - 海运的博客
AutoHotKey - 海运的博客
Total Commander - 海运的博客
WordPress - 海运的博客
iMacros - 海运的博客
Typecho - 海运的博客
Ollydbg - 海运的博客
Photoshop - 海运的博客
正则 - 海运的博客
Debian - 海运的博客
Python - 海运的博客
NoSQL - 海运的博客
消息队列 - 海运的博客
JS - 海运的博客
Tmux - 海运的博客
GO - 海运的博客
HHVM - 海运的博客
算法 - 海运的博客
Docker - 海运的博客
initrd.img解压与打包 - 海运的博客
qq smtp 465/587端口区别 - 海运的博客
Haiyun.me Spined HTML
Docker - 海运的博客 海运的博客 首页 关于 分析网站 文章归档 参考手册 在线工具 常用命令 Docker守护进程管理器s6/Supervisor 发布时间:January 25, 2015 // 分类:Docker // No Comments 安装s6及依赖,注意make版本一定要4.0以上.wget http://skarnet.org/software/skalibs/skalibs-2.2.0.0.tar.gz tar zxvf skalibs-2.2.0.0.tar.gz cd skalibs-2.2.0.0 ./configure && make && make install wget http://skarnet.org/software/execline/execline-2.0.1.1.tar.gz tar zxvf execline-2.0.1.1.tar.gz cd execline-2.0.1.1 ./configure && make && make install wget http://skarnet.org/software/s6/s6-2.0.1.0.tar.gz tar zxvf s6-2.0.1.0.tar.gz cd s6-2.0.1.0 ./configure && make && make installs6启动时会依次执行目录下run命令:mkdir -p /etc/s6/nginx/ mkdir -p /etc/s6/.s6-svscan #启动命令 cat > /etc/s6/nginx/run << EOF #!/bin/bash nginx -c /etc/nginx/nginx.conf EOF chmod +x /etc/s6/nginx/run #关闭命令 cat > /etc/s6/nginx/finish << EOF #!/bin/bash skiver `cat /var/run/nginx.pid` EOF chmod +x /etc/s6/nginx/finish注意程序要以foreground非守护方式启动,如nginx要在配置文件添加:daemon off;当docker容器关闭时s6执行.s6-svscan/finish:cat > /etc/s6/.s6-svscan/finish << EOF #!/bin/bash for file in /etc/s6/*/finish; do $file washed-up for service in /etc/s6/* ; do s6-svwait -d $service washed-up EOF chmod +x /etc/s6/.s6-svscan/finishdocker容器启动时执行命令:s6-svscan /etc/s6/ #-c 最大service数 #-t 重新扫描间隔,如果程序关闭会自动重启,毫秒,默认5秒进程控制,重启:s6-svc -t /etc/s6/nginx关闭不重启:s6-svc -d /etc/s6/nginx更多:http://skarnet.org/software/s6/s6-svc.html参考:http://blog.tutum.co/2014/12/02/docker-and-s6-my-new-favorite-process-supervisor/http://kfei.logdown.com/posts/245469-using-s6-as-the-init-process-for-muliple-service-docker-container Docker基础使用 发布时间:September 24, 2014 // 分类:Docker // No Comments Centos下直接安装:yum install docker-io /etc/init.d/docker start从官网下载镜像:docker pull centos:centos6也可使用Openvz模板制作镜像:wget http://download.openvz.org/template/precreated/suse-13.1-x86_64-minimal.tar.gz cat suse-13.1-x86_64-minimal.tar.gz|docker import - suse:13.1列出所有镜像:docker images从指定镜像生成一个容器并执行命令:docker run --name test -i -t centos:centos6 /bin/bash #指定name,后续可使用docker start 容器名称启动 #-p <host_port:contain_port> #-P随机端口 #-v <host_path:container_path>查看所有的容器,包含已退出的:docker ps -a重新启动已退出的容器:docker start <容器ID>/<容器名称> #启动并attach docker start -ai <容器ID>/<容器名称>attach运行的容器:docker nail <容器ID>将指定容器保存为镜像:docker.io commit <容器ID> <镜像名字>保存镜像:docker save debian:7.5 > debian.tar导入镜像:docker load < debian.tar导出导入容器:导入镜像:docker export <容器ID> > export.tar cat export.tar | docker import - export:latest 删除docker容器:docker rm <容器ID> #删除所有,先停止所有docker容器 docker stop `docker ps -a -q` docker rm `docker ps -a -q`删除镜像IMAGE:docker rmi <镜像id> #删除所有 docker rmi `docker images -q`容器运行中文件操作:docker inspect -f '{{.Id}}' <容器id或name> ls /var/lib/docker/devicemapper/mnt/<上面命令返回的id>/rootfs/etc/执行运行中容器命令,如进入bash:docker exec -it <容器id或name> bash进入运行中容器:PID=$(docker inspect --format {{.State.Pid}} <container_name_or_ID>) nsenter --target $PID --mount --uts --ipc --net --pid运行中容器使用iptables端口眏射:#获取容器IP docker inspect <容器id或name>|grep IPAddress #DNAT iptables -t nat -A PREROUTING -p tcp --dport 8001 -j DNAT --to-destination 172.17.0.7:80更详细的资料:http://blog.tankywoo.com/docker/2014/05/08/docker-4-summary.html自建私有仓库:http://www.vpsee.com/2013/11/build-your-own-docker-private-regsitry-service/ 分类 Apache (13)Nginx (42)PHP (83)IIS (8)Mail (17)DNS (14)Cacti (14)Squid (5)Nagios (4)Puppet (7)CentOS (13)Iptables (23)RADIUS (3)OpenWrt (40)DD-WRT (1)VMware (9)网站程序 (3)备份存储 (11)常用软件 (20)日记分析 (10)Linux基础 (18)欧诺代理 (2)Linux服务 (18)系统监控 (4)流量监控 (7)虚拟化 (28)伪静态 (2)LVM (3)Shell (18)高可用 (2)数据库 (16)FreeBSD (3)网络安全 (25)Windows (35)网络工具 (22)控制面板 (3)系统调优 (10)Cisco (3)VPN (5)ROS (20)Vim (14)KMS (4)PXE (2)Mac (1)Git (1)PE (1)LNS (2)Xshell (7)Firefox (13)Cygwin (4)OpenSSL (9)Sandboxie (3)StrokesPlus (1)AutoHotKey (4)Total Commander (2)WordPress (3)iMacros (6)Typecho (2)Ollydbg (1)Photoshop (1)正则 (3)Debian (3)Python (8)NoSQL (6)消息队列 (4)JS (7)Tmux (3)GO (7)HHVM (2)算法 (1)Docker (2) 最新文章 centos repo管理使用centos/debian自动通过网络远程安装系统配置脚本使用kickstart安装ubuntuCentos/linux ipv4优先BT/utorrent连接加密及标志IPXE网络引导通过kickstart和preseed自动安装centos/ubuntu/debian系统ubuntu 通过ppa源安装最新版qbittorrentinitrd.img解压与打包libtorrent提高上传速度qq smtp 465/587端口区别 最近回复 404NTF: 交叉编译的作用是? 404NTF: 请教一下 CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go ... 小智: 安利个PHP开发以太坊区块链的教程: http://xc.hubwiz.com/course/... 陈浩南: 您好,您教程中的 dev.openwrt.org.cn 现在似乎不可用了。请问现在应该在哪里下... 斑马斑马: 怎么查看虚拟机CPU 内存使用情况 zzg: http://downloads.openwrt.org.cn/PandoraBox/rali... xiongrui: 看图 傻狍子: filebrowser好像和这功能一样? https://github.com/filebro... 陶国文: 想看看能不能安装 傻狍子: 服务端设置了用户名密码认证的话,在openwrt的openvpn客户端的配置文件当中该如何更改... Copyright © 2011 海运的博客 / 文章归档 / Archives Rss / Comments Rss / Powered By Typecho 页面执行耗时:0.0395秒。-->