Use VPN client only inside a docker container

I want to use a VPN client container but It creates VPN connection on host OS

If you don’t show any detail about how you tried it, we can’t help, I’m afraid.

Maybe you can use the following. It looks good, but I didn’t try it: GitHub - wfg/docker-openvpn-client: OpenVPN client with killswitch and proxy servers; built on Alpine