Browse Source

Update ubuntu_setup.sh

tteckster 3 years ago
parent
commit
973693351f
1 changed files with 8 additions and 0 deletions
  1. 8 0
      setup/ubuntu_setup.sh

+ 8 - 0
setup/ubuntu_setup.sh

@@ -51,6 +51,14 @@ apt-get -qqy install \
     curl \
     sudo &>/dev/null
 
+DOCKER_CONFIG_PATH='/etc/docker/daemon.json'
+mkdir -p $(dirname $DOCKER_CONFIG_PATH)
+cat >$DOCKER_CONFIG_PATH <<'EOF'
+{
+  "log-driver": "journald"
+}
+EOF
+
 echo -e "${CHECKMARK} \e[1;92m Customizing LXC... \e[0m"
 chmod -x /etc/update-motd.d/*
 touch ~/.hushlogin