<commit_before>Boot2Docker
===========

Boot2Docker is a lightweight Linux distribution made specifically to run [Docker]
(https://www.docker.io/) containers. It runs completely from RAM, is a small ~24MB
download and boots in ~5s (YMMV).


Installation instructions for [OS X](http://docs.docker.io/installation/mac/) and [Windows](http://docs.docker.io/installation/windows/) available on the Docker documentation site.


The [ISO can be downloaded here](
https://github.com/boot2docker/boot2docker/releases).


## Features
* Kernel 3.16.1 with AUFS, Docker v1.2.0 - using libcontainer
* Container persistence via disk automount on `/var/lib/docker`
* SSH keys persistence via disk automount

> **Note:** This version of Docker uses port **2375**, the newly registered [IANA
> port](http://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml?search=docker)

## Installation

### All in one Installers for OS X and MS Windows

We have built installers for [OS X](
https://github.com/boot2docker/osx-installer/releases) and [MS Windows](
https://github.com/boot2docker/windows-installer/releases) which will install
the boot2docker management tool, VirtualBox and any tools needed to run Boot2Docker.

### Installation using the boot2docker management tool

If you have the prerequisites, or want to help develop Boot2Docker, you can 
also download the appropriate [boot2docker management release](
https://github.com/boot2docker/boot2docker-cli/releases) and use it to download
the [`boot2docker.iso`](
https://github.com/boot2docker/boot2docker/releases).

## How to use
The `boot2docker` management tool leverages VirtualBox's `VBoxManage` to
initialise, start, stop and delete the VM right from the command line.

#### Initialize
```
$ boot2docker init
```

#### Start VM
```
$ boot2docker up
```

#### Upgrade the Boot2docker VM image
```
$ boot2docker stop
$ boot2docker download
$ boot2docker up
```

If your Boot2Docker virtual machine was created prior to 0.11.1-pre1, it's best to
delete -  `boot2docker delete` and then `boot2docker init` to create a new VM.

The main changes are to add a `/var/lib/boot2docker/userdata.tar` file that is
un-tarred into the `/home/docker` directory on boot. This file contains a
`.ssh/authorized_keys` and `.ssh/authorized_keys2` files containing a public sshkey.

<commit_msg>add Docker Hub info to site<commit_after>Boot2Docker
===========

Boot2Docker is a lightweight Linux distribution made specifically to run [Docker]
(https://www.docker.io/) containers. It runs completely from RAM, is a small ~24MB
download and boots in ~5s (YMMV).


Installation instructions for [OS X](http://docs.docker.io/installation/mac/) and [Windows](http://docs.docker.io/installation/windows/) available on the Docker documentation site.


The [ISO can be downloaded here](
https://github.com/boot2docker/boot2docker/releases).


## Features
* Kernel 3.16.1 with AUFS, Docker v1.2.0 - using libcontainer
* Container persistence via disk automount on `/var/lib/docker`
* SSH keys persistence via disk automount

> **Note:** This version of Docker uses port **2375**, the newly registered [IANA
> port](http://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml?search=docker)

## Installation

### All in one Installers for OS X and MS Windows

We have built installers for [OS X](
https://github.com/boot2docker/osx-installer/releases) and [MS Windows](
https://github.com/boot2docker/windows-installer/releases) which will install
the boot2docker management tool, VirtualBox and any tools needed to run Boot2Docker.

### Installation using the boot2docker management tool

If you have the prerequisites, or want to help develop Boot2Docker, you can 
also download the appropriate [boot2docker management release](
https://github.com/boot2docker/boot2docker-cli/releases) and use it to download
the [`boot2docker.iso`](
https://github.com/boot2docker/boot2docker/releases).

## How to use
The `boot2docker` management tool leverages VirtualBox's `VBoxManage` to
initialise, start, stop and delete the VM right from the command line.

#### Initialize
```
$ boot2docker init
```

#### Start VM
```
$ boot2docker up
```

#### Upgrade the Boot2docker VM image
```
$ boot2docker stop
$ boot2docker download
$ boot2docker up
```

If your Boot2Docker virtual machine was created prior to 0.11.1-pre1, it's best to
delete -  `boot2docker delete` and then `boot2docker init` to create a new VM.

The main changes are to add a `/var/lib/boot2docker/userdata.tar` file that is
un-tarred into the `/home/docker` directory on boot. This file contains a
`.ssh/authorized_keys` and `.ssh/authorized_keys2` files containing a public sshkey.

## Docker Hub
To save and share container images, automate workflows, and more sign-up for a
free [Docker Hub account](https://hub.docker.com).

{'fraction_non_alphanumeric': 0.1090797041906327, 'fraction_numerical': 0.019309778142974528, 'mean_word_length': 4.810262529832936, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 13, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '583227', 'n_tokens_mistral': 1564, 'n_tokens_neox': 1411, 'n_words': 530}