hub地址: https://hub.docker.com/r/nacos/nacos-server
1.拉取镜像
docker pull nacos/nacos-server
2.启动【参数介绍详见hub介绍】
docker run --name nacos -e MODE=standalone -e MYSQL_SERVICE_HOST=192.168.182.128 -e MYSQL_SERVICE_DB_NAME=nacos-config -e MYSQL_SERVICE_USER=root -e MYSQL_SERVICE_PASSWORD=qwerasdf -p 8848:8848 -d nacos/nacos-server
3.访问
http://ip:8848/nacos
账号密码都是nacos
标签:hub,SERVICE,部署,Nacos,nacos,8848,MYSQL,Docker,server From: https://www.cnblogs.com/fanqisoft/p/16950403.html