docker

Setting up a Docker container to move between hosts

Upon running this command on my MacBook Air:
docker run -i -t --name mymeanjs --link mymongodb:db_1 -p 80:3000 maccam912/meanjs:latest bash
 
We have a running container that needs to have the npm and bower installs completed before we can do much with it. We'll then clone meanjs from github and build it. This image It will also need Ruby and the gem sass installed.

Docker Containers, MEANJS, AWS

I recently had come across this article, Running a MEAN web application in Docker containers on AWS. I'm researching containers for development work that can start in one place and then migrate into production as a docker file. So I spent an hour getting this up and running. In addition to the steps in the article, I found a few extra steps might make things work better.

1. Update Node. The maccam912 VM has an older version of node. It's an easy fix.