问题:docker exec -it redis /bin/bash 爆出 failed to create runc console socket: stat /tmp: no such file or directory: unkn 解决方案 切换到跟目录/创建tmp文件夹就可以了。 mkdir tmp 再次运行,docker exec -it redis /bin/bash