<commit_before># Cap::Docker

This project aims to make it simple to deploy an app inside Docker containers.

### Work in progress so the gem is not yet released.

Though you can install it via github.

## Concept

You have a host and you set up a docker baseimage like this one. Once you have docker and  the basimage on your host you are ready to deploy.
Containers are used only as runtime environment, all the sourcecode lives on the hosti, installed by capistrano.
Gems are also installed on host and gemset path is imported into container this way gems not duplicated among containers.

Containers are named after capistrano release directories, so for each release you will provided with a docker conatiner.

Example:

releases         |    | containers
-----------------|----|----------------------
20150509224056   | -> | myapp_20150509224056<commit_msg>erge branch 'master' of github.com:bonyiii/cap-docker<commit_after># Cap::Docker

This project aims to make it simple to deploy an app inside Docker containers.

### Work in progress so the gem is not yet released.

Though you can install it via github.

## Concept

You have a host and you set up a docker baseimage like this [ruby baseimage](https://github.com/bonyiii/dockers/tree/master/ruby). Once you have docker and  the basimage on your host you are ready to deploy.
Containers are used only as runtime environment, all the sourcecode lives on the hosti, installed by capistrano.
Gems are also installed on host and gemset path is imported into container this way gems not duplicated among containers.

Containers are named after capistrano release directories, so for each release you will provided with a docker conatiner.

Example:

releases         |    | containers
-----------------|----|----------------------
20150509224056   | -> | myapp_20150509224056
{'fraction_non_alphanumeric': 0.09115720524017468, 'fraction_numerical': 0.03056768558951965, 'mean_word_length': 3.3129411764705883, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6283966', 'n_tokens_mistral': 519, 'n_tokens_neox': 454, 'n_words': 250}