Rootconf/Devconf 2017

This year’s Rootconf was special as it also hosted Devconf for the first time in India. The conference took place at MLR Convention Centre, JP Nagar, Bangalore on 11-12 May, 2017. The event had 2 parallel tracks running, 1 was for Rootconf and the other one for Devconf. Rootconf is a place like other Hasgeek events where you get to see friends and make new friends, learn about what they are up to and share your stints....

May 24, 2017 · Ratnadeep Debnath

CentOS Community Container Pipeline

CentOS Community Container Pipeline empowers running a container registry (currently at https://registry.centos.org) to facilitate upstream and distro components to be delivered in a format suitable to be consumed by container tool chains on CentOS Linux.It enables upstream projects to build, test and deliver latest and safest container images, everytime and effortlessly (or with minimal efforts). Problem statement Containers are a great way to package and deliver applications and there are loads of container images around....

April 14, 2017 · Ratnadeep Debnath

Migrated blog to run inside a container

Today, I migrated my Ghost blog to a Docker container running on CentOS 7. The config and content data for the blog has been pushed to https://github.com/rtnpro/rtnpro.com. The setup was pretty simple. git clone https://github.com/rtnpro/rtnpro.com cd rtnpro.com # Allow sharing this directory with a Docker container sudo chcon -Rt svirt_sandbox_file_t ./ # Allow nginx access port 2368 expose from Docker container sudo semanage port -a -t http_port_t -p tcp 2368 # Run container sudo docker run -d -ti -p 2368:2368 \ --name rtnpro_com_ghost \ -v $(pwd):/var/lib/ghost \ -v $(pwd)/themes:/usr/src/ghost/content/themes \ -e NODE_ENV=production \ ptimof/ghost cp nginx....

June 18, 2016 · Ratnadeep Debnath

Nuleculize your Docker application

It’s easier to explain things with an example. So, I will take up centos/postgresql docker image and nuleculize it for Docker and Kubernetes as providers. This post assumes that you have setup an Atomic environment on CentOS7/Fedora. If you have not done so, you can follow the instructions here. First, we’ll create scaffolding for our Nulecule PostgreSQL application. mkdir -p nulecule-postgresql/artifacts/{docker,kubernetes} touch nulecule-postgresql/{Dockerfile,LICENSE,Nulecule,README.md} touch nulecule-postgresql/docker/postgresql-app-pod_run touch nulecule-postgresql/kubernetes/{postgresql-pod,postgresql-service}.yaml Second, we’ll edit nulecule-postgresql/Nulecule file as below:...

September 7, 2015 · Ratnadeep Debnath

Setting up Atomic on CentOS 7

This post will run you through how to setup an environment Atomic apps on CentOS 7, by hand. For quickstart, you can just run the Vagrantfile at here. Setup Install dependencies # yum install docker atomic kubernetes etcd Configure docker storage pool Assuming that you have a new volume: /dev/vdb attached to your machine, configure /etc/sysconfig/docker-storage-setup as below: # cat <<EOF > /etc/sysconfig/docker-storage-setup DEVS=/dev/vdb VG=docker-vg EOF Start and enable Docker # systemctl start docker # systemctl enable docker You can run # docker info to check the new specs for docker storage pool....

August 29, 2015 · Ratnadeep Debnath