Exposing lxc to the outside world

I have launched a lxc and inside I run I simple app (hello world) I want to access it from the browser (which mean expose it)
in docker we do docker run -p host-port:container-port app-container
since I’m new to lxc technology I dont know how to do so

Hi @Zikou,
You can check that manuel to expose container by using proxy device.

This was recorded for lxd, but the same ideas should work on incus:


EDIT: Just saw you mentioned lxc and not incus. Sorry for the confusion…