<commit_before>Simple hello world test with Docker and Mono
===

This sample will run a simple C# console application in a Ubuntu Docker container. 

The application will print a simple "Hello Mono" to the console.

Step 1
---

####Set up a vagrant box to run the sample on

######Open a command prompt an run:

    $ vagrant init phusion/ubuntu-14.04-amd64
    $ vagrant up
    
######SSH into the VM with:

    $ vagrant ssh

######Install Docker in the VM with:

     $ sudo apt-get update
     $ sudo apt-get install docker.io
     $ sudo ln -sf /usr/bin/docker.io /usr/local/bin/docker
     $ sudo sed -i '$acomplete -F _docker docker' /etc/bash_completion.d/docker.io


Step 2
---
Copy the folder to the VM with SCP:

    $ scp -P 2222 -r MonoDockerTest vagrant@127.0.0.1:/home/vagrant/DockerTest/

Step 3
---
In the VM:

1. Navigate to the folder with the Dockerfile
 
2. Build the Docker image with the following command:



       $ sudo docker build -t hello .
     
     
      
3. Run the Docker container with the following command:

       
       
       $ sudo docker run hello
      
It should output:

    Hello Mono!<commit_msg>Cleaning up text Formatting text<commit_after>Simple "hello world" test with Docker and Mono
===

This example will run a simple C# console application in a Ubuntu Docker container. 

The application will print "Hello Mono!" to the console.

Step 1
---

####Set up a vagrant box to run the example on

######Open a command prompt and run:

    $ vagrant init phusion/ubuntu-14.04-amd64
    $ vagrant up
    
######SSH into the VM with:

    $ vagrant ssh

######Install Docker in the VM with:

     $ sudo apt-get update
     $ sudo apt-get install docker.io
     $ sudo ln -sf /usr/bin/docker.io /usr/local/bin/docker
     $ sudo sed -i '$acomplete -F _docker docker' /etc/bash_completion.d/docker.io


Step 2
---
######Copy the "MonoDockerTest" folder to the VM with SCP:

    $ scp -P 2222 -r MonoDockerTest vagrant@127.0.0.1:/home/vagrant/DockerTest/
    
username: vagrant

password: <PASSWORD>

Step 3
---
######In the VM:

1. Navigate to the folder with the Dockerfile
 
2. Build the Docker image with the following command:



       $ sudo docker build -t hello .
     
     
      
3. Run the Docker container with the following command:

       
       
       $ sudo docker run hello
      
It should output:

    Hello Mono!
{'fraction_non_alphanumeric': 0.09521812080536912, 'fraction_numerical': 0.018456375838926176, 'mean_word_length': 2.486842105263158, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '1128442', 'n_tokens_mistral': 836, 'n_tokens_neox': 718, 'n_words': 306}