nm-online
Ask NetworkManager whether the network is connected. More information: <https://networkmanager.dev/docs/api/latest/nm-online.html>.
RUN apt-get update && \
apt-get install -y network-manager
RUN apt-get update && \
apt-get install -y network-manager
RUN apk add networkmanager
RUN pacman -S --noconfirm networkmanager
RUN apt-get update && \
apt-get install -y network-manager
RUN dnf install -y NetworkManager-1
RUN apt-get update && \
apt-get install -y network-manager