redis 写入自己的文件夹

This commit is contained in:
virusdefender 2015-10-10 20:21:41 +08:00
parent 4b51befb69
commit 53c58cf1d7

View File

@ -10,7 +10,7 @@ if os.system("docker run --name mysql -v /root/data:/var/lib/mysql -v /root/data
print "Error start mysql" print "Error start mysql"
exit() exit()
if os.system("docker run --name redis -v /root/data/:/data -d redis redis-server --appendonly yes"): if os.system("docker run --name redis -v /root/redis/:/data -d redis redis-server --appendonly yes"):
print "Error start redis" print "Error start redis"
exit() exit()