Skip to content
 
 

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Use nmcli from a Debian container without installing NetworkManager

This repo demonstrates how to download, extract and run the nmcli utility from the network-manager Debian package without the need for installing the full NetworkManager suite.

Internally nmcli communicates through D-Bus with the NetworkManager service running on the host OS. That is to say nmcli can be run inside a resin container without any need for running NetworkManager service next to it. Moreover installing NetworkManager inside the application container is dangerous if the NetworkManager service is not masked. Downloading and extracting nmcli is a safer approach that additionally saves bytes.

For more details please check the Dockerfile template of this project.

To run a container based on this image mount the system dbus with "-v /var/run/dbus:/var/run/dbus"

About

Running `nmcli` in a container without installing the full NetworkManager suite

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages