Docker
The nv unset commands remove the configuration you set with the equivalent nv set commands. This guide only describes an nv unset command if it differs from the nv set command.
nv set system docker state
Enables and disables the Docker service.
The Docker package installs as part of the Cumulus Linux installation or ONIE upgrade process and the service is running by default. The Docker package includes Docker Engine, and dependencies and configuration files required to run the Docker service.
Version History
Introduced in Cumulus Linux 5.15.0
Example
cumulus@switch:~$ nv set system docker state disabled
The What Just Happened (WJH) service relies on Docker. If you disable Docker, WJH must also be disabled.
nv set system docker vrf <vrf-name>
Sets the VRF in which to run the Docker service. By default, the Docker service runs in the management VRF.
Changing the Docker VRF restarts the Docker service, which disrupts all running containers.
Command Syntax
| Syntax | Description |
|---|---|
vrf-id |
The VRF in which to run the Docker service. |
Version History
Introduced in Cumulus Linux 5.15.0
Example
cumulus@switch:~$ nv set system docker vrf RED