docker run --name kubeblog -d -p 5000:5000 --link mysql57 -e MYSQL_SERVER=“mysql57” registry.cn-beijing.aliyuncs.com/qingfeng666/kubeblog:1.3
docker: Error response from daemon: Conflict. The container name “/kubeblog” is already in use by container “cafe699046a3e62dd8f30eb1c0c951ac83f653e26cf486660fb9a1d505425fff”. You have to remove (or rename) that container to be able to reuse that name.
[root@localhost Final]# mysql
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2)