<commit_before>IP=$1
service docker stop
wget -qO- https://get.docker.com/ | sh
DOCKER_OPTS="--cluster-store=consul://127.0.0.1:8500 --cluster-advertise=$IP:0"
echo DOCKER_OPTS=\"$DOCKER_OPTS\" >> /etc/default/docker

service docker restart<commit_msg>vagrant: Docker defaults location has changed.<commit_after>IP=$1
service docker stop
wget -qO- https://get.docker.com/ | sh

cat <<EOF >> /etc/docker/daemon.json
{
    "cluster-advertise": "$1:0",
    "cluster-store": "consul://127.0.0.1:8500"
}
EOF


service docker restart
{'fraction_non_alphanumeric': 0.17647058823529413, 'fraction_numerical': 0.04743833017077799, 'mean_word_length': 4.333333333333333, 'pattern_counts': {'":': 2, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 2, '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': '1345107', 'n_tokens_mistral': 219, 'n_tokens_neox': 200, 'n_words': 39}