<div dir="ltr">Hi,<br>   I have been playing with containers for a few days only and deployed<br>several to test some networking features. I have searched on the net to get an answer but couldn't find any post/page yet. Issue is that I set up a small LAB<br>containers of which has no internet access. If I need to install an application e.g apache2<br>I attach to the container like;<br><br>#lxc-attach -n container1<br>container1#apt-get install apache2<br><br>but for this to work, I add a veth peer to let the container access outside network (This isn't something I prefer to do as I need to isolate these containers)<br><br>I wonder if there is any way to install this app from the master host i.e by using master<br>host's network space but install the app on the container something like this imaginary command;<br><br>#<b>lxc-run</b> -n container -c "apt-get install apache2"<br><br>i.e pulling the application from repository on the master space but pushing it onto the container.<br><br>There is lxc-execute, lxc-attach but they all run inside container's space which doesn't work for me.<br><br>Thanks,<br><br>Genco.<br></div>