windows
docker run --name nacos -e MODE=standalone -v /D/worktool/nacos/application.properties:/home/nacos/conf/application.properties -p 8848:8848 -p 9848:9848 -d nacos/nacos-server:v2.2.0
linux
docker run --name nacos -e MODE=standalone -v /home/nacos/application.properties:/home/nacos/conf/application.properties -p 8848:8848 -p 9848:9848 -d nacos/nacos-server:v2.2.0
mac
docker run --name nacos-v2.2.0 -e MODE=standalone -v /Users/xx/tools/nacos-2.2.0/conf/application.properties:/home/nacos/conf/application.properties -p 8848:8848 -p 9848:9848 -d nacos/nacos-server:v2.2.0
docker run --name nacos --restart=always -e MODE=standalone -v /Users/lihaiyang/docker/nacos/conf/application.properties:/home/nacos/conf/application.properties -p 8848:8848 -p 9848:9848 -d nacos/nacos-server:v2.3.2