Hi,

welcome to the confusing world of docker. I assume that uname shows your host that serves docker, cos docker images itself are not full vms only processes and an image that run on your host. 

So maybe learn docker if you want to go this way or use a VM and install all you need by yourself. 


BTW apk is the equivalent of apt in alpine. 

Pavithra Mohanraja <pavimohan3004@gmail.com> schrieb am Mi., 10. Juni 2020, 06:44:
Hi, 
I tried to do "apt-get update" inside the container, so it was showing "apt is not found".

I need to understand , Is that the way the container works or Is there anyother way to use the "apt" package.

One more clarification required on base image of kamailio.
In kamailio/kamailio:ci , It is defined as alpine based images, but when i see in "uname -r" inside the container, it shows "ubuntu-16.04".
So what is the base image used and need some explanation on the alpine distribution.


Thanks,
Pavithra

On Wed, Jun 10, 2020 at 10:00 AM Alex Balashov <abalashov@evaristesys.com> wrote:
On 6/10/20 12:17 AM, Pavithra Mohanraja wrote:

> Using the kamailio-ci images , I am unable to install any packages using
> "apt-get install" inside the container .

Can you clarify the meaning of "unable"? Nobody can help you if you just
say "it doesn't work" without elaboration. You need to tell people what
isn't working, exactly, and what the symptoms are.

Second, are you sure that installing packages inside the container is a
good idea? While in some cases it is perhaps necessary, in general it
goes against the philosophy of containers as a packaging and
distribution mechanism. Containers are not the same as servers, VMs or VPSs.

-- Alex

--
Alex Balashov | Principal | Evariste Systems LLC

Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free)
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users