mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
bcad7419bf
Summary: Initial commit to include the fbcode_builder sources in the eden github repository. fbshipit-source-id: 49098cecda04a7e9dd9dcc0b569fffc96f0f719b
14 lines
459 B
Bash
Executable File
14 lines
459 B
Bash
Executable File
#!/bin/sh
|
|
# Copyright (c) Facebook, Inc. and its affiliates.
|
|
|
|
|
|
# `daemon.json` is normally missing, but let's log it in case that changes.
|
|
touch /etc/docker/daemon.json
|
|
service docker stop
|
|
echo '{"ipv6": true, "fixed-cidr-v6": "2001:db8:1::/64"}' > /etc/docker/daemon.json
|
|
service docker start
|
|
# Fail early if docker failed on start -- add `- sudo dockerd` to debug.
|
|
docker info
|
|
# Paranoia log: what if our config got overwritten?
|
|
cat /etc/docker/daemon.json
|