Docker Container Has Internet Access Only in Privileged Mode

I don’t know if this is still an issue with the current LXD version, however have you tried this?
The link will forward you to a question about running docker inside LXD containers.