[squid-users] Running squid inside docker container

rahul.negi at orange.com rahul.negi at orange.com
Fri Oct 23 09:40:55 UTC 2020


Hi Team,

I am trying to run squid service inside docker container and following this page https://hub.docker.com/r/datadog/squid/

The steps which I performed are as follows:

*         docker pull datadog/squid

*          docker run --name squid -d -p 443:443 --volume /home/squid/cache:/var/spool/squid datadog/squid

After I ran above command, I am getting below error "FATAL: xcalloc: Unable to allocate 1048576 blocks of 392 bytes!"

While it's trying to create sub-directories under /var/spool/squid, then it's failing. I am using squid configuration with cache_dir ufs /var/spool/squid 100 16 256

Did anyone faced this problem before or someone can point out if I am missing some configuration or can provide the solution here.

Thanks and Regards,
Rahul Negi

_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.

This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
Thank you.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20201023/8115a0c6/attachment.htm>


More information about the squid-users mailing list