I am running it like
sudo docker run -e "CODE=EPU9URKTFQRMJYAEYKJQK3R" -e "SERVER=smart" --name=expressvpn-proxy --cap-add=NET_ADMIN --privileged --device=/dev/net/tun --publish 3128:3128 expressvpn-proxy
it works with curl -x localhost:3128 ifconfig.me
But it doesnt works with: curl -x PUBLICip:3128 ifconfig.me
I am running it like sudo docker run -e "CODE=EPU9URKTFQRMJYAEYKJQK3R" -e "SERVER=smart" --name=expressvpn-proxy --cap-add=NET_ADMIN --privileged --device=/dev/net/tun --publish 3128:3128 expressvpn-proxy
it works with curl -x localhost:3128 ifconfig.me
But it doesnt works with: curl -x PUBLICip:3128 ifconfig.me