Skip to content

Instantly share code, notes, and snippets.

View LalatenduMohanty's full-sized avatar

Lalatendu Mohanty LalatenduMohanty

View GitHub Profile

Keybase proof

I hereby claim:

  • I am LalatenduMohanty on github.
  • I am lalatendum (https://keybase.io/lalatendum) on keybase.
  • I have a public key whose fingerprint is 0D8E 29E7 FA2D 1A28 C8DD 0473 8351 EDFA 1D3D 70E6

To claim this, I am signing this object:

Atomic Host Definition [Discussion Draft]

This document is meant to serve as a baseline definition for Project Atomic hosts, to be implemented from CentOS, Fedora, and Red Hat Enterprise Linux (RHEL).

The purpose of the document is not to restrict the packages or services offered with an Atomic host, but to ensure a baseline of functionality and working standard that each product team can implement before adding additional functionality.

The initial working draft is being taken from work going into RHEL Atomic, but it is expected that the CentOS Atomic SIG and Fedora Cloud Workgroup will provide input and direction to Project Atomic going forward. This is simply the first cut at a shared understanding that gives each team a basis for cooperation.

Atomic Host Definition

@LalatenduMohanty
LalatenduMohanty / gist:9815537a243cd8fa2740
Created November 2, 2015 13:36
Atomicapp docker image issue while using EPEL for atomicapp RPM
I doing the steps in ADB vagrant box
The Modified the Docker file is at https://github.com/LalatenduMohanty/atomicapp/blob/hacking-centos-atomicapp-base-image/Dockerfile
To build the Docker image run -> docker build -t projectatomic/atomicapp .
Get the examples from Nulecule -> git clone https://github.com/projectatomic/nulecule
cd nulecule/nulecule/examples/helloapache
Modify the Dockerfile to use teh atomicapp we have built -> First line should be "FROM projectatomic/atomicapp:latest"
Build the image -> docker build -t helloapache .
Run it > atomic run helloapache
@LalatenduMohanty
LalatenduMohanty / post2.rst
Last active November 6, 2015 09:31 — forked from dustymabe/post2.rst
Fedora Cloud Vagrant Boxes in Atlas

With Fedora 22 release we started creating Vagrant boxes for our cloud images in order to make it easier to set up a local environment for development or testing. In the 22 release cycle we worked out quite a few kinks and we are again releasing libvirt and virtualbox Vagrant boxes for Fedora 23. We are also going a step farther this time by making it

TestCases To Test ADB Vagrant Box

####ADB box should boot fine through Vagrant.

  • vagrant up -> vagrant ssh should work fine

####Docker service should be running at the boot of the vagrant box

  • check sudo systemctl status docker

####ADB Vagrant box should have the docker storage setup.

  • sudo lvs output should look like as below
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile for single node k8s setup
Vagrant.configure(2) do |config|
config.vm.box = "atomicapp/dev"
config.vm.provider "libvirt" do |libvirt, override|
libvirt.driver = "kvm"
libvirt.memory = 1024
@LalatenduMohanty
LalatenduMohanty / tmux-cheatsheet.markdown
Created November 20, 2015 05:28 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@LalatenduMohanty
LalatenduMohanty / vagrant_run.py
Created December 8, 2015 07:44 — forked from praveenkumar/vagrant_run.py
Vagrant regression testing for adb/cdk
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright © 2015 Praveen Kumar <kumarpraveen.nitdgp@gmail.com>
#
# This copyrighted material is made available to anyone wishing to use,
# modify, copy, or redistribute it subject to the terms and conditions
# of the GNU General Public License v.2, or (at your option) any later
# version. This program is distributed in the hope that it will be
# useful, but WITHOUT ANY WARRANTY expressed or implied, including the

Project Atomic, an open source, openly governed project, integrates the tools and patterns of container-based application and service deployment with trusted operating system platforms to deliver an end-to-end hosting architecture that's modern, reliable and secure.

Project Atomic is pleased to announce the release of the Atomic Developer Bundle (ADB), a Vagrant box that provides a ready-to-use development environment for container applications.

This latest community release includes many features, including the ability to develop and test with Open Shift version 3.

Developed by a global community, the Atomic Developer Bundle (ADB) gives application developers a ready to use development environment for container applications. The ADB is useful on Microsoft Windows, Apple's OS X and GNU/Linux distributions. The ADB provides a container development ecosystem that ensures that developers are able to work with Linux containers even if their base operating system does not support

sudo journalctl -u docker