在 /etc/init.d/docker的start()函数末尾加入:chmod 777 /var/run/docker.sock
否则web程序会没有权限去操作
 
python web调用docker-py-LMLPHP
05-11 15:23