This commit is contained in:
Matthias Radestock committed 2015-12-02 15:28:41 +00:00
1 parent 20a48f05b3
commit 0602c91c54
1 file changed
+1 -1
+1 -1
View File
@@ -1037,7 +1037,7 @@ rewrite_etc_hosts() {
CONTAINERS_PATH=$(dirname $HOSTS)
MNT=/container
MNT_HOSTS=$MNT/$(basename $HOSTS)
CONTENTS="$(etc_hosts_contents $FQDN $@)"
CONTENTS="$(etc_hosts_contents $FQDN "$@")"
# rewrite /etc/hosts, unlinking the file (so Docker does not modify it again) but
# leaving it with valid contents...
docker run --rm --net=none --privileged \