docker daemon image (docker in docker)
docker pull docker:1.8-dind # base image docker:1.8
docker pull docker:1.9-dind # base image docker:1.9
docker pull docker:1.10-rc-dind # base image docker:1.10-rc
docker client image
| - Tune /etc/ssh/sshd_config | |
| UseDNS no # Disable DNS lookups | |
| GSSAPIAuthentication no # Disable negotation of slow GSSAPI | |
| don't forget to restart it, use a script provider to set it , or create it with veewee or snapshot it | |
| - Tune Vagrantfile | |
| vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"] |
| #!/bin/bash | |
| set -e | |
| ### BEGIN INIT INFO | |
| # Provides: sslocal | |
| # Required-Start: $syslog $remote_fs | |
| # Required-Stop: $syslog $remote_fs | |
| # Should-Start: | |
| # Should-Stop: | |
| # Default-Start: 2 3 4 5 |
| [Unit] | |
| Description=Daemon to start Shadowsocks Client | |
| Wants=network-online.target | |
| After=network.target | |
| [Service] | |
| Type=simple | |
| ExecStart=/usr/bin/sslocal -c /etc/shadowsocks/client.json --pid-file /var/run/sslocal.pid --log-file /var/log/sslocal.log | |
| [Install] |
| #!/usr/bin/python | |
| # -*- coding: utf-8 -*- | |
| """ | |
| Zabbix SMTP Alert script for gmail. | |
| """ | |
| import sys | |
| import smtplib | |
| from email.MIMEText import MIMEText | |
| from email.Header import Header |
//所需容器:
- plumbing容器: plumbing 'jenkins-slave' container
- build容器: user's build container
//创建data volume
[launchDockerCLI()] caller => CliDockerDriver.java - it.dockins.dockerslaves.drivers.CliDockerDriver - createVolume()
----------------------------
$ docker search openvpn | head -n 5
NAME DESCRIPTION STARS OFFICIAL AUTOMATED
kylemanna/openvpn OpenVPN server in a Docker container compl... 316 [OK]
haugene/transmission-openvpn Docker container which runs Transmission t... 47 [OK]
dperson/openvpn-client 29 [OK]
| ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### | |
| ### Shell script to download Oracle JDK / JRE / Java binaries from Oracle website using terminal / command / shell prompt using wget. | |
| ### You can download all the binaries one-shot by just giving the BASE_URL. | |
| ### Script might be useful if you need Oracle JDK on Amazon EC2 env. | |
| ### Script is updated for every JDK release. | |
| ### Features:- | |
| # 1. Resumes a broken / interrupted [previous] download, if any. | |
| # 2. Renames the file to a proper name with including platform info. |