Skip to content

Instantly share code, notes, and snippets.

@ntmggr
ntmggr / start_server.sh
Created July 30, 2016 10:38 — forked from gabrielengel/start_server.sh
Install Nginx, Unicorn & ruby 1.9.3
#!/usr/bin/env bash
# Setup a ubuntu 12.04 LTS machine with nginx, unicorn, ruby 1.9.3
# RUN: curl -L http://goo.gl/M8SXl | bash
mkdir ~/server ; cd ~/server
wget https://github.com/gabrielengel/chef-ubuntu/tarball/master
tar -zxf master
cd gab*
mv dna.aws-sample.json dna.json
@ntmggr
ntmggr / docker-examples.md
Created April 19, 2016 08:49 — forked from thaJeztah/docker-examples.md
Some docker examples

Commit, clone a container

To 'clone' a container, you'll have to make an image of that container first, you can do so by "committing" the container. Docker will (by default) pause all processes running in the container during commit to preserve data-consistency.

For example;

docker commit --message="Snapshot of my container" my_container my_container_snapshot:yymmdd