Hi Angel,The --add-host flag is not supported in the XNAT Container Service command structure. Containers running under Container Service do have a few environment variables set by default, including XNAT_HOST.
Using this env var, or any other input you supply to the command, you could append the /etc/hosts file as part of your container's run script. e.g.
> echo $XNAT_HOST app-backend >> /etc/host
at container startup.
Best,
Matt