<commit_before>1. Ubuntu 14.04 on VB installation:

   ```bash
   $ sudo apt-get install build-essential module-assistant
   $ sudo m-a prepare
   ```
   
   Now click "Devices > Insert guest additions CD image" in the virtualbox window.
   Install guest additions:)
	
   ```bash
   $ sudo apt-get install vim
   $ sudo reboot
   ```
2. Docker installation: (instructions on: http://docs.docker.com/engine/installation/ubuntulinux/)

   ```bash
   $ sudo apt-key adv --keyserver hkp://pgp.mit.edu:80 --recv-keys <KEY>
   $ sudo vim /etc/apt/sources.list.d/docker.list
   ```
   
   press "i" to insert text
   write: deb https://apt.dockerproject.org/repo ubuntu-trusty main
   press esc and then type ":wq" [enter]

   ```bash
   $ sudo apt-get update
   $ sudo apt-get purge lxc-docker*
   $ sudo apt-cache policy docker-engine
   ```
   ```bash
   $ sudo apt-get install docker-engine
   $ sudo service docker start
   $ sudo docker run hello-world
   ```

   you should see Hello from Docker.

   ```bash
   $ sudo usermod -aG docker <username>
   $ sudo reboot
   ```
3. Get default ubuntu:14.04 container

	$ docker pull ubuntu:trusty
	$ docker images

	you should see sth like:

	REPOSITORY          TAG                 IMAGE ID            CREATED             VIRTUAL SIZE
	ubuntu              trusty              1d073211c498        12 days ago         187.9 MB
	hello-world         latest              0a6ba66e537a        3 weeks ago         960 B

	to run the container type:

	$ docker run -t -i ubuntu:trusty bash

4. in docker install JAVA

	$ sudo apt-get update
	$ sudo apt-get install default-jre
	$ sudo apt-get install default-jdk
	$ sudo vi /etc/environment
	add line: JAVA_HOME="/usr/lib/jvm/java-7-openjdk-amd64"
	save

	// Install additional things
	sudo apt-get install curl wget ...

5. go to another console and commit docker image

	$ docker commit -a "<NAME> <<EMAIL>>" -m "Initial docker image for DOS project on MINI (Warsaw University of Technology" <image id> <repository name>

	where <repository name> is for example mini-dos/server or mini-dos/node
<commit_msg>Update dos-docker-howto.md<commit_after>1. Ubuntu 14.04 on VB installation:

   ```bash
   $ sudo apt-get install build-essential module-assistant
   $ sudo m-a prepare
   ```
   
   Now click "Devices > Insert guest additions CD image" in the virtualbox window.
   Install guest additions:)
	
   ```bash
   $ sudo apt-get install vim
   $ sudo reboot
   ```
2. Docker installation: (instructions on: http://docs.docker.com/engine/installation/ubuntulinux/)

   ```bash
   $ sudo apt-key adv --keyserver hkp://pgp.mit.edu:80 --recv-keys <KEY>
   $ sudo vim /etc/apt/sources.list.d/docker.list
   ```
   
   press "i" to insert text
   write: deb https://apt.dockerproject.org/repo ubuntu-trusty main
   press esc and then type ":wq" [enter]

   ```bash
   $ sudo apt-get update
   $ sudo apt-get purge lxc-docker*
   $ sudo apt-cache policy docker-engine
   ```
   ```bash
   $ sudo apt-get install docker-engine
   $ sudo service docker start
   $ sudo docker run hello-world
   ```

   you should see Hello from Docker.

   ```bash
   $ sudo usermod -aG docker <username>
   $ sudo reboot
   ```
3. Get default ubuntu:14.04 container

   ```bash
   $ docker pull ubuntu:trusty
   $ docker images
   ```
   you should see sth like:

   |REPOSITORY      |    TAG       |          IMAGE ID     |       CREATED      |       VIRTUAL SIZE |
   |----------------|--------------|-----------------------|--------------------|-----------------|
   |ubuntu        |      trusty      |        1d073211c498     |   12 days ago      |   187.9 MB	 |
   |hello-world    |     latest       |       0a6ba66e537a      |  3 weeks ago       |  960 B	 |

   to run the container type:
   
   ```bash
   $ docker run -t -i ubuntu:trusty bash
   ```

4. in docker install JAVA

	$ sudo apt-get update
	$ sudo apt-get install default-jre
	$ sudo apt-get install default-jdk
	$ sudo vi /etc/environment
	add line: JAVA_HOME="/usr/lib/jvm/java-7-openjdk-amd64"
	save

	// Install additional things
	sudo apt-get install curl wget ...

5. go to another console and commit docker image

	$ docker commit -a "<NAME> <<EMAIL>>" -m "Initial docker image for DOS project on MINI (Warsaw University of Technology" <image id> <repository name>

	where <repository name> is for example mini-dos/server or mini-dos/node

{'fraction_non_alphanumeric': 0.11986301369863013, 'fraction_numerical': 0.02054794520547945, 'mean_word_length': 2.2260677466863035, 'pattern_counts': {'":': 2, '<': 19, '<?xml version=': 0, '>': 21, 'https://': 2, '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': '4519289', 'n_tokens_mistral': 1563, 'n_tokens_neox': 1326, 'n_words': 463}