openeuler/squidThe official Squid docker image.
Maintained by: openEuler CloudNative SIG.
Where to get help: openEuler CloudNative SIG, openEuler.
Current Squid docker images are built on the openEuler. This repository is free to use and exempted from per-user rate limits.
Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-requested web pages. Squid has extensive access controls and makes a great server accelerator. It runs on most available operating systems, including Windows and is licensed under the GNU GPL.
Learn more on Squid website.
The tag of each squid docker image is consist of the version of squid and the version of basic image. The details are as follows
| Tag | Currently | Architectures |
|---|---|---|
| 7.4-oe2403sp3 | squid 7.4 on openEuler 24.03-LTS-SP3 | amd64, arm64 |
| 7.3-oe2403sp3 | squid 7.3 on openEuler 24.03-LTS-SP3 | amd64, arm64 |
| 7.3-oe2403sp2 | squid 7.3 on openEuler 24.03-LTS-SP2 | amd64, arm64 |
| 6.8-oe2203sp3 | Squid 6.8 on openEuler 22.03-LTS-SP3 | amd64, arm64 |
In this usage, users can select the corresponding {Tag} and container startup options based on their requirements.
Pull the openeuler/squid image from docker
bashdocker pull openeuler/squid:{Tag}
Start a squid instance
bashdocker run -d --name my-squid -p 3128:3128 openeuler/squid:{Tag}
After the instance my-squid is started, access the Squid service through http://localhost:3128.
Container startup options
| Option | Description |
|---|---|
-p 3128:3128 | Expose squid on localhost:3128. |
-v /path/to/logs:/var/log/squid | Volume to store squid logs |
-v /path/to/data:/var/spool/squid | Volume to store the squid cache |
-v /path/to/main/config:/usr/local/squid/etc/squid.conf | Main squid configuration file |
-v /path/to/config/snippet:/usr/local/squid/etc/conf.d/snippet.conf | Configuration snippets included by squid.conf |
View container running logs
bashdocker logs -f my-squid
To get an interactive shell
bashdocker exec -it my-squid /bin/bash
If you have any questions or want to use some special features, please submit an issue or a pull request on openeuler-docker-images.





manifest unknown 错误
TLS 证书验证失败
DNS 解析超时
410 错误:版本过低
402 错误:流量耗尽
身份认证失败错误
429 限流错误
凭证保存错误
来自真实用户的反馈,见证轩辕镜像的优质服务