浏览代码

Merge pull request #409 from lynaghk/master

Docker init created by contrib setup script should set proper UTF8 LANG
Solomon Hykes 12 年之前
父节点
当前提交
521ce07859
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      contrib/install.sh

+ 1 - 1
contrib/install.sh

@@ -45,7 +45,7 @@ then
   echo "Upstart script already exists."
   echo "Upstart script already exists."
 else
 else
   echo "Creating /etc/init/dockerd.conf..."
   echo "Creating /etc/init/dockerd.conf..."
-  echo "exec /usr/local/bin/docker -d" > /etc/init/dockerd.conf
+  echo "exec env LANG=\"en_US.UTF-8\" /usr/local/bin/docker -d" > /etc/init/dockerd.conf
 fi
 fi
 
 
 echo "Starting dockerd..."
 echo "Starting dockerd..."