Magneticore

Development, Operations and Design

  • Articles
  • Resume
  • About Me
  • Contact
  • DevOps
  • Featured
  • Astronomy
  • Portfolio
  • UI/UX
You are here: Home / Archives for Articles

VM boxes with Bento and Vagrant

February 4, 2015 by Jorge Morales

Bento

When you have the need to create VM boxes that can run in multiple environments Packer is an excellent choice.

Out of the box Packer comes with support to build images for Amazon EC2, DigitalOcean, Google Compute Engine, QEMU, VirtualBox, VMware, and more.

Support for more platforms is on the way, and anyone can add new platforms via plugins.

For a local development environment we can leverage the advantages of using Vagrant to run VMs and test or develop right in a clean environment without inadvertently introducing settings or configurations of our host machine.

This allows to level the conditions of the development, staging, QA and production environments.

In this way we would avoid circumstances like:

I don’t know what happened. It ran fine in my machine.

[Read more…]

Filed Under: Articles, DevOps

blessed-contrib

January 19, 2015 by Jorge Morales

While browsing in Google+ I encountered blessed-contrib and I wanted to share.

Build dashboards (or any other application) using ascii/ansi art and javascript.

[Read more…]

Filed Under: Articles, DevOps Tagged With: devops, linux

Docker OSX Vagrant and VMware fusion

December 19, 2014 by Jorge Morales

Awhile ago I started exploring what containers were and how to wrap my head around them to do deployments.

I pointed my browser to Docker’s Mac OS X installation web page which read something like this:

Because the Docker daemon uses Linux-specific kernel features, you can’t run Docker natively in OS X. Instead, you must install the Boot2Docker application. Boot2Docker includes a VirtualBox VM, Docker itself, and the Boot2Docker management tool.

Since I already have another VM environment installed (aka VMWare Fusion) and also Vagrant, I wasn’t too keen to install VirtualBox just for the exploratory exercise.

The solution was rather simple. Use Vagrant to start a Linux Box and then Install Docker in it.

You can use the following Vagrantfile as an example.

  The Vagrantfile refers to bootstrap_docker.sh. This is a simple bash script that runs after Vagrant boots your VM and then installs Docker.  
Copy and paste the code into the Vagrantfile and bootstrap_docker.sh in a new directory then run Vagrant.

 

$ vagrant up
$ vagrant ssh

Once you ssh into the box test your Docker installation:

$ sudo docker run -i -t ubuntu /bin/bash

This will download the Ubuntu container and start a shell session on it.

Docker in Vagrant

That’s it!
Time to experiment with more containers.

Filed Under: Articles, DevOps

Web standards for the future

December 6, 2014 by Jorge Morales

A nice video from the W3C community about Web standards.

w3.org/participate

Filed Under: Articles Tagged With: web

Linux Performance Analysis and Tools

September 4, 2014 by Jorge Morales

Excellent Presentation from Brendan Gregg’s Talk at SCaLE 11x

Slides…

Linux Performance Analysis and Tools from Brendan Gregg

Filed Under: Articles, DevOps Tagged With: devops, linux

  • « Previous Page
  • 1
  • 2
  • 3
  • 4
  • Next Page »

Recent Articles

  • Kano Computer for Kids based on Raspberry pi
  • Welcome Home App and Meteor part 2
  • Welcome Home App and Meteor
  • Are we alone in the universe?
  • A new car UI
I'm currently looking for new opportunities. Are you interested, let's chat!

Work with Jorge Now

Previous role

Project Lead at CoralCEA where I led the implementation on Coral platform and Coral's production systems.

 

I’m also in here…

  • Email
  • GitHub
  • LinkedIn
  • Twitter

Copyright © 2025 · Magneticore · My online Resume

Copyright © 2025 · Log in