@ajeetraina Ajeet Singh Raina, Docker Captain, {Code} Catalysts, Dell EMC R&D ajeetraina

View gist:c2183611fef699caf0ac536b77c0c5d6
[Captains-Bay]🚩 > cat docker-compose.yml
version: '3.6'
services:
web1:
image: nginx:alpine
ports:
- 8085:80
db1:
image: nginx:alpine
View gist:b9a137c9a053c30ea6bfe30b339f11e9
Step-1: Open Git Bash.
Paste the text below, substituting in your GitHub email address.
ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
This creates a new ssh key, using the provided email as a label.
Generating public/private rsa key pair.
View gist:ac983ea54d407ab82ba1f4d542d9c1b2
# This is an example for building the open source components of Docker for Mac
kernel:
image: linuxkit/kernel:4.14.39
cmdline: "console=ttyS0 page_poison=1"
init:
- linuxkit/vpnkit-expose-port:4e2ea826aaefdd196c7473255654d06ad96c4c21 # install vpnkit-expose-port and vpnkit-iptables-wrapper on host
- linuxkit/init:11929b0007b87384f7372e9265067479c4616586
- linuxkit/runc:acba8886e4b1318457c711700f695a02fef9493d
- linuxkit/containerd:f197e7cbb2ede4370b75127c76de6f7b2e3d9873
- linuxkit/ca-certificates:fb5c7bf842a330f5b47cdf71f950fe0c85f4a772
View gist:f39f5970856db99a9102d9beb08042bd
brew cask install caskroom/versions/java8
brew install jenkins
If you want to run Jenkins inside Docker container:
[Captains-Bay]🚩 > bbrew install jenkins
==> Downloading http://mirrors.jenkins.io/war/2.109/jenkins.war
==> Downloading from http://ftp-chi.osuosl.org/pub/jenkins/war/2.109/jenkins.war
View gist:99d93bc768641b464aa02836ecfa57c3
Docker for Mac: version: 17.12.0-ce-mac45 (a61e84b8bca06b1ae6ce058cdd7beab1520ad622)
macOS: version 10.13.1 (build: 17B1003)
logs: /tmp/D8FEC121-9CFC-4F96-90B6-E65288797EAB/20180110-094659.tar.gz
[OK] db.git
[OK] vmnetd
[OK] dns
[OK] driver.amd64-linux
[OK] virtualization VT-X
[OK] app
[OK] moby
View docker-compose.yml
version: "3"
services:
nginx:
image: nginx
ports:
- 82:80
- 444:443
deploy:
View gist:9c46fc410e48f322ec72535d5db38078
kernel:
image: linuxkit/kernel:4.9.69
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
init:
- linuxkit/init:9250948d0de494df8a811edb3242b4584057cfe4
- linuxkit/runc:abc3f292653e64a2fd488e9675ace19a55ec7023
- linuxkit/containerd:e58a382c33bb509ba3e0e8170dfaa5a100504c5b
- linuxkit/ca-certificates:de21b84d9b055ad9dcecc57965b654a7a24ef8e0
onboot:
- name: sysctl
View gist:0d32eaca14df499fce883cebd8f6d559
kernel:
image: linuxkit/kernel:4.9.69
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
init:
- linuxkit/init:9250948d0de494df8a811edb3242b4584057cfe4
- linuxkit/runc:abc3f292653e64a2fd488e9675ace19a55ec7023
- linuxkit/containerd:e58a382c33bb509ba3e0e8170dfaa5a100504c5b
onboot:
- name: dhcpcd
image: linuxkit/dhcpcd:0d59a6cc03412289ef4313f2491ec666c1715cc9
View gist:4c3059396f3615d08d6b6851d37e7e13
- Install Docker for Mac 17.12 Edge Release on your Mac System
- Kubernetes is only available if you are part of the private beta for Docker for Mac 17.12.
- To access beta builds, you must be signed in within Docker for Mac using your Docker ID.
- If you are participating in the Docker Beta program, you can access the beta for Docker for Mac 17.12 CE. This version includes a standalone Kubernetes server and client, as well as Docker CLI integration.
- To log in with your Docker ID, select whale menu -> Sign in / Create Docker ID from the menu bar.
View gist:a65df92d7066c055f98a8a6495c4a86c
https://www.knownhost.com/wiki/control-panels/cpanel-whm/cpanelwhm-locations-of-logs