Skip to content

Instantly share code, notes, and snippets.

[centos@atomic etherpad-centos7-atomicapp]$ sudo atomic run ether
docker run -it --rm --privileged -v /home/centos/nulecule-library/etherpad-centos7-atomicapp:/atomicapp -v /run:/run -v /:/host --net=host --name ether -e NAME=ether -e IMAGE=ether ether -v run
docker run -it --rm --privileged -v /home/centos/nulecule-library/etherpad-centos7-atomicapp:/atomicapp -v /run:/run -v /:/host --net=host --name ether -e NAME=ether -e IMAGE=ether ether -v run
2016-02-05 09:02:30,774 - __main__ - INFO - Action/Mode Selected is: run
2016-02-05 09:02:30,775 - __main__ - DEBUG - Setting app_spec based on $IMAGE env var
2016-02-05 09:02:30,775 - __main__ - DEBUG - Final parsed cmdline: run -v
2016-02-05 09:02:30,776 - atomicapp.nulecule.main - DEBUG - NuleculeManager init app_path: /host/var/lib/atomicapp/ether-9912d65b14cf
2016-02-05 09:02:30,776 - atomicapp.nulecule.main - DEBUG - NuleculeManager init image: ether
2016-02-05 09:02:30,776 - atomicapp.nulecule.main - DEBUG - Request to unpack to ether to /host/var/
[hummer@dhcp35-121 OS] $ vagrant up
Bringing machine 'default' up with 'libvirt' provider...
==> default: Creating image (snapshot of base box volume).
==> default: Creating domain with the following settings...
==> default: -- Name: OS_default
==> default: -- Domain type: kvm
==> default: -- Cpus: 4
==> default: -- Memory: 4096M
==> default: -- Management MAC:
==> default: -- Loader:
@surajssd
surajssd / ElasticKube.md
Created April 8, 2016 07:15
Install and setup ElasticKube and deploy Docker Birthday 3 application and using ElasticKube
WordPress not found in /var/www/html - copying now...
tar: ./index.php: Cannot open: Permission denied
tar: ./license.txt: Cannot open: Permission denied
tar: ./readme.html: Cannot open: Permission denied
tar: ./wp-activate.php: Cannot open: Permission denied
tar: ./wp-admin: Cannot mkdir: Permission denied
tar: ./wp-admin: Cannot mkdir: Permission denied
tar: ./wp-admin/about.php: Cannot open: No such file or directory
tar: ./wp-admin: Cannot mkdir: Permission denied
tar: ./wp-admin/admin-ajax.php: Cannot open: No such file or directory
apiVersion: v1
kind: Template
labels:
compose: example-voting-app
metadata:
creationTimestamp: null
name: mytemplate
objects:
version: "2"
services:
postgres:
image: postgres:9.4
ports: ["5432"]
redis:
image: redis:alpine
ports: ["6379"]
version: "2"
services:
hello:
image: surajd/hello
ports:
- "8080"
- "8778"
- "8443"
labels:
- "app=hello"
version: "2"
services:
hello:
image: surajd/hello
ports:
- "8080"
- "8778"
- "8443"
labels:
- "app=hello"
@surajssd
surajssd / deploy_opencompose.md
Last active November 13, 2016 13:00
OpenCompose services.yml

The services.yml file

$ cat services.yml 
version: "0.2"

services:
    frontend:
        image: docker.io/surajd/frontend:v1
        ports:
dgplug summer training 2017
https://dgplug.org/summertraining17/
Register at: [1]
* Read about dgplug at [2].
* See about dgplug at [4].
Our goal is to bring in more upstream contributors to various FOSS projects. Through this training we show the path of becoming an upstream contributor. The training lasts for almost 3 months, sessions are generally at 18:30 IST onwards.