Skip to content

Instantly share code, notes, and snippets.

Whalify Yourself !

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

Whalify Yourself !
Block or report user

Report or block ajeetraina

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
ajeetraina / docker-compose.yml
Created Oct 29, 2017
Docker Compose File for MacVLAN Network Driver ( Single Node)
View docker-compose.yml
version: '3.3'
image: mysql:5.7
- db_data:/var/lib/mysql
restart: always
- myvlan
ajeetraina / gist:65fcd34d1ad89f9afeb9a9ce4df01b99
Last active May 1, 2019
Playing around RackHD & InfraKit
View gist:65fcd34d1ad89f9afeb9a9ce4df01b99
## Cloning Infrakit
Ajeets-MacBook-Air:summit ajeetraina$ git clone
Cloning into 'infrakit.rackhd'...
remote: Counting objects: 197, done.
remote: Total 197 (delta 0), reused 0 (delta 0), pack-reused 197
Receiving objects: 100% (197/197), 180.33 KiB | 104.00 KiB/s, done.
Resolving deltas: 100% (88/88), done.
ajeetraina / docker-compose.yml
Created Oct 4, 2018
Docker Compose for ELK Stack
View docker-compose.yml
version: '2'
context: elasticsearch/
- ./elasticsearch/config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml:ro
ajeetraina / docker-compose.yml
Last active Dec 19, 2018
Building JMeter - A Distributed Load Testing Workflow using Docker Compose on Swarm Mode Cluster
View docker-compose.yml
#Setting Up Master-Slave JMeter Distributed Load Testing Tool
#1- Docker
#2- Docker Compose v3.1 and later
#3- Docker Swarm Mode Running 1 Master(atleast) and N Slave Nodes(worker Nodes)
ajeetraina / gist:4c3059396f3615d08d6b6851d37e7e13
Last active Sep 9, 2018
A First Look at Kubernetes Integrated Docker for Mac 17.12 Platform
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.
ajeetraina / gist:c446c703969e8fb023f896a10fd3eda9
Created Jul 25, 2018
Installing Jenkins inside Docker Container on macOS
View gist:c446c703969e8fb023f896a10fd3eda9
[Captains-Bay]🚩 > mkdir jenkins
[Captains-Bay]🚩 > cd jenkins/
[Captains-Bay]🚩 > vi Dockerfile
Captains-Bay]🚩 > cat Dockerfile
FROM jenkins/jenkins:lts
USER root
RUN apt-get update && apt-get install net-tools -y
RUN groupadd docker && gpasswd -a jenkins docker
ajeetraina / docker-compose.yml
Created Mar 7, 2017
Docker Compose v3.1 file for Secret Management under Docker 1.13
View docker-compose.yml
version: "3.1"
image: "mysql:latest"
aliases: ["db"]
- "db_data:/var/lib/mysql"
ajeetraina / gist:c2183611fef699caf0ac536b77c0c5d6
Last active Jun 19, 2018
Docker Compose v3.6 for Swarm & Kubernetes - Issue
View gist:c2183611fef699caf0ac536b77c0c5d6
[Captains-Bay]🚩 > cat docker-compose.yml
version: '3.6'
image: nginx:alpine
- 8085:80
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 ""
This creates a new ssh key, using the provided email as a label.
Generating public/private rsa key pair.
ajeetraina / gist:ac983ea54d407ab82ba1f4d542d9c1b2
Created May 7, 2018
LinuxKit YAML to build Docker for Mac
View gist:ac983ea54d407ab82ba1f4d542d9c1b2
# This is an example for building the open source components of Docker for Mac
image: linuxkit/kernel:4.14.39
cmdline: "console=ttyS0 page_poison=1"
- 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
You can’t perform that action at this time.