name一定要看清,找了半个多小时毛病,原来是写错了
[root@localhost vagrant]# docker exec -it some-redis redis-cli 127.0.0.1:6379>