It is possible to use the NordVPN Linux CLI app within a Docker container.
In order to do that, you have to use the following NordVPN Dockerfile configuration to set up your Docker container.
Copy the following code to your clipboard:
FROM ubuntu:22.04
RUN apt-get update && \
apt-get install -y wget iputils-ping curl && \
wget -O /tmp/nordrepo.deb https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/nordvpn-release_1.0.0_all.deb && \
apt-get install -y /tmp/nordrepo.deb && \
apt-get update && \
apt-get install -y nordvpn=3.16.8 && \
apt-get remove -y wget nordvpn-release && \
rm /tmp/nordrepo.deb && \
apt-get clean
ENTRYPOINT /etc/init.d/nordvpn start && sleep 5 && /bin/bash -c "$@"
CMD bash
For more detailed information on how to use Docker, check the Docker documentation.
After that, you can use the native NordVPN commands following this tutorial.