<commit_before>Docker-Registry
===============

[![Build Status](https://travis-ci.org/dotcloud/docker-registry.png)](https://travis-ci.org/dotcloud/docker-registry)

About this document
===================

As the documentation evolves with different registry versions, be sure that before reading any further you do:

 * check which version of the registry you are running
 * switch to the corresponding tag to access the README that matches your product version

The stable, released version is currently the [0.6.9 tag](https://github.com/dotcloud/docker-registry/tree/0.6.9).


Quick start
===========

The fastest way to get running:

 * install docker according to the [following instructions](http://docs.docker.io/installation/#installation)
 * run the registry: `docker run -p 5000:5000 registry`

That will use the
[official image from the Docker index](https://index.docker.io/_/registry/).

Here is another example that will launch a container on port 5000, and store images in an Amazon S3 bucket:  
```
docker run \
         -e SETTINGS_FLAVOR=s3 \
         -e AWS_BUCKET=acme-docker \
         -e STORAGE_PATH=/registry \
         -e AWS_KEY=<KEY> \
         -e AWS_SECRET=<KEY> \
         -e SEARCH_BACKEND=sqlalchemy \
         -p 5000:5000 \
         registry
```

See [config_sample.yml](config/config_sample.yml) for all available environment variables.

Create the configuration
========================<commit_msg>Update the readme to point to 0.7.0 as the latest stable version<commit_after>Docker-Registry
===============

[![Build Status](https://travis-ci.org/dotcloud/docker-registry.png)](https://travis-ci.org/dotcloud/docker-registry)

About this document
===================

As the documentation evolves with different registry versions, be sure that before reading any further you do:

 * check which version of the registry you are running
 * switch to the corresponding tag to access the README that matches your product version

The stable, released version is currently the [0.7.0 tag](https://github.com/dotcloud/docker-registry/tree/0.7.0).


Quick start
===========

The fastest way to get running:

 * install docker according to the [following instructions](http://docs.docker.io/installation/#installation)
 * run the registry: `docker run -p 5000:5000 registry`

That will use the
[official image from the Docker index](https://index.docker.io/_/registry/).

Here is another example that will launch a container on port 5000, and store images in an Amazon S3 bucket:  
```
docker run \
         -e SETTINGS_FLAVOR=s3 \
         -e AWS_BUCKET=acme-docker \
         -e STORAGE_PATH=/registry \
         -e AWS_KEY=<KEY> \
         -e AWS_SECRET=<KEY> \
         -e SEARCH_BACKEND=sqlalchemy \
         -p 5000:5000 \
         registry
```

See [config_sample.yml](config/config_sample.yml) for all available environment variables.

Create the configuration
========================
{'fraction_non_alphanumeric': 0.13675213675213677, 'fraction_numerical': 0.02017094017094017, 'mean_word_length': 3.6444444444444444, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 8, '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': '4055244', 'n_tokens_mistral': 888, 'n_tokens_neox': 802, 'n_words': 281}