Skip to content

Latest commit

 

History

History

docker

Installation

  1. Disable SELINUX. See distro docs.

  2. Clone NOC to your favorite location. The default path is /opt/noc

git clone https://code.getnoc.com/noc/noc.git /opt/noc

cd /opt/noc/docker
  1. Run noc-docker-setup.sh script to make dirs/permissions/config
./noc-docker-setup.sh -p all
  1. Check the ./var/...-noc/etc/noc.conf and edit configuration if required

  2. Install docker-compose:
    see URL: https://docs.docker.com/compose/install/

  3. Check if docker daemon is running.

  4. Prepare to launch containers:

export DOCKER_CLIENT_TIMEOUT=200
docker compose up --no-start
  1. Perform initial db initialization and migrations:
docker compose up migrate

Note: Be aware that command will run lots of noc daemons and expected to be pretty slow.
On laptops with SSD it takes about 2 minutes to get everything started

  1. Start NOC in the docker:
docker compose up -d 
  1. Go to https://0.0.0.0 using default credentials:
Username: admin
Password: admin

Limitations

  • Only single node. No way to scale noc daemons to multihost.
  • Databases are outside container in ./var/<composerprefix>-... .
  • Only single pool: "default". No way to add equipment from different VRFs.
  • Need 30G+ free space on block device
  • SSD block device is highly recommended. It starts more than 2 minutes.

Contributing

Contributions, issues and feature requests are welcome!

Feel free to check issues page.

Feel free to check Docker specific with tag docker issues page.

Contact us: