<commit_before>#!/bin/bash
#Installs and starts Docker-engine

#update packages
sudo apt-get update

#make sure that curl is installed, and get recommended pre-requisites for OS
sudo apt-get install curl \
    linux-image-extra-$(uname -r) \
    linux-image-extra-virtual

#ensure apt works with https method and that CA certificates are installed
sudo apt-get install apt-transport-https ca-certificates

#add official docker GPG encryption key
curl -fsSL https://yum.dockerproject.org/gpg | sudo apt-key add -

#verify the correct key ID is 58118E89F3A912897C070ADBF76221572C52609D
sudo apt-key fingerprint <KEY>

#Set up the stable docker repository
sudo add-apt-repository "deb https://apt.dockerproject.org/repo/ ubuntu-$(lsb_release -cs) main"

#update packages again and install docker-engine
sudo apt-get update
sudo apt-get -y install docker-engine

#Download the Docker Machine binary and extract it to your file path
curl -L https://github.com/docker/machine/releases/download/v0.9.0/docker-machine-`uname -s`-`uname -m` >/tmp/docker-machine &&
  chmod +x /tmp/docker-machine &&
  sudo cp /tmp/docker-machine /usr/local/bin/docker-machine

#Check the installation by displaying the Machine version
sudo docker-machine version<commit_msg>Update docker_install.sh<commit_after>#!/bin/bash
#Installs and starts Docker-engine

#update packages
sudo apt-get update

#make sure that curl is installed, and get recommended pre-requisites for OS
sudo apt-get install curl \
    linux-image-extra-$(uname -r) \
    linux-image-extra-virtual

#ensure apt works with https method and that CA certificates are installed
sudo apt-get install apt-transport-https ca-certificates

#add official docker GPG encryption key
curl -fsSL https://yum.dockerproject.org/gpg | sudo apt-key add -

#verify the correct key ID is 58118E89F3A912897C070ADBF76221572C52609D
sudo apt-key fingerprint <KEY>

#Set up the stable docker repository
sudo add-apt-repository "deb https://apt.dockerproject.org/repo/ ubuntu-$(lsb_release -cs) main"

#update packages again and install docker-engine
sudo apt-get update
sudo apt-get -y install docker-engine
{'fraction_non_alphanumeric': 0.08740601503759399, 'fraction_numerical': 0.029605263157894735, 'mean_word_length': 4.417302798982188, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, 'https://': 5, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '904435', 'n_tokens_mistral': 736, 'n_tokens_neox': 632, 'n_words': 228}