I want my container not to access internet. Is there anyway?
What network mode are you using?
What do you want it to be able to access?
I am using bridge mode . On my vps.
Just want to keep a container on my will of accessing internet .
Do you want it to be able to access other instances on the bridge?
You could add an iptables/nftables rule forbidding traffic leaving your external interface where the in device is
lxdbr0 (assuming thats your bridge name).