摘要:利用docker安装mysql docker run -d --name mysql -v mysql:/var/lib/mysql -e MYSQL_ALLOW_EMPTY_PASSWORD=true mysql mysql 直接进入 -v 表示数据持久化 -e 表示变量,这里表示允许数据库密码为
阅读全文
摘要:1 问题: 最近有一个测试环境的 Swarm 集群挂了, 这个集群有两个管理节点, 执行 docker node ls, 均报: The swarm does not have a leader. It's possible that too few managers are online. Mak
阅读全文
摘要:[root@localhost centos-vim]# docker login Login with your Docker ID to push and pull images from Docker Hub. If you don't have a Docker ID, head over
阅读全文