1. Search for NACOS images

docker search nacos

2. Download the image

docker pull nacos/nacos-server

3. Check the local image to see if it is pulled to local

docker images

4. Start the mirror

NACOS official documentation

docker run -d -p 8848:8848 --env MODE=standalone  --name nacos  nacos/nacos-server

5. Verify whether it is successful

http://localhost:8848/nacos

The default username and password are:nacos