This kind of control can be performed even if the device is already claimed in Pantacor Hub. It can also be the only option if you disable remote control or if you install a local revision at any given time, which will interrupt Pantacor Hub remote control.
Pantabox is the top level control tool that can be run inside of a container. It offers a ncurses user interface that lets you interact with Pantavisor (install new revisions, exchange metadata, reboot or shutdown your device...).
Pantabox is built on top of pvcontrol.
pvcontrol is the CLI control tool that communicates with Pantavisor control socket using cURL. As it is a Pantabox dependency, it generally gets advantage of the latest features of the control socket first.
Other Local Controllers¶
If you want to take advantage of the local control in your own container, first make sure mgmt role is selected in your container. Then, consider importing Pantabox and/or pvcontrol into your container. Besides this option, you can always directly use cURL or any other HTTP client to attack the control socket endpoints.