Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To run a released version:

Code Block
docker run -t -d -p 8181:8181 -p 8101:8101 -p 5005:5005 -p 830:830 --name onos onosproject/onos:2.1.0

Operating ONOS

There are two complementary methods: GUI or CLI. Some operations might be only available for one of such methods.

Accessing the GUI

Point your browser to http://${YOUR_IP}:8181/onos/ui/login.html and introduce the default ONOS credentials.

Attaching to the CLI

To connect to the Karaf console (use the default user and credentials in Karaf):

Code Block
docker exec -it onos /bin/bash
# Install SSH for the OS used by the selected ONOS release (e.g., "apk add openssh" or "apt install openssh-server")
ssh -p 8101 -o StrictHostKeyChecking=no karaf@localhost

You may now issue any CLI command.


Info
titleTips

Type "onos:" and hit the tab key to autocomplete the available commands. Once you have selected a command, you can type it and append "--help" to get specific information on it.