mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
14 lines
459 B
Bash
14 lines
459 B
Bash
|
#!/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
|