1. Create a local map file
mkdir -p /root/nacos/init.d /root/nacos/logs
touch /root/nacos/init.d/custom.properties
2. write configuration in file
management.endpoints.web.exposure.include=*
3. configure startup
docker run -d -p 8848:8848 -e MODE=standalone -e PREFER_HOST_MODE=hostname -v /home/nacos/init.d/custom.properties:/home/nacos/init.d/custom.properties -v /home/nacos/logs:/home/nacos/logs --restart always --name nacos nacos/nacos-server
Read More:
- [Solved] K8s Install Error: docker-ce conflicts with 2:docker-1.13.1-208.git7d71120.el7_9.x86_64
- Mac: How to installs docker through brew
- How to Use pychar to run tensorflow and virtualenv (How to install tensorflow)
- Debian: How to install MariaDB
- How to Install PSSH in Centos7
- How To Install Java with Apt-Get on Ubuntu 16.04
- How To Install WordPress with LAMP on Ubuntu 16.04
- How to Install MongoDB Community Edition Manually on mac and linux
- [Solved] Install docker under windows10 error: error during connect
- Mac: How to Install homebrew, nginx, PHP and MySQL
- How to Install FFmpeg on Linux
- How to Solve program install error 0x80070660
- How to Install Mongdb4.X in Windows
- Macos: How to Solve cocoapods Install Error
- How to install PIL in Python 3
- How to Sole cmd Install typeScript Error
- How to Solve Oracle 11g Install Stuck 86% error on Linux
- How to Solve Cython-bbox pip install Error
- [Solved] Acrobat DC 2022 Install Error: Cannot Install Acrobat Update Service
- FreeSWITCH installation error “You must install libyuv-dev to build mod_fsv” solution