专属域名
文档搜索
轩辕助手
Run助手
邀请有礼
返回顶部
快速返回页面顶部
收起
收起工具栏
轩辕镜像 官方专业版
轩辕镜像 官方专业版轩辕镜像 官方专业版官方专业版
首页个人中心搜索镜像

交易
充值流量我的订单
工具
提交工单镜像收录一键安装
Npm 源Pip 源Homebrew 源
帮助
常见问题
其他
关于我们网站地图

官方QQ群: 1072982923

i386/perl Docker 镜像 - 轩辕镜像 | Docker 镜像高效稳定拉取服务

热门搜索:openclaw🔥nginx🔥redis🔥mysqlopenjdkcursorweb2apimemgraphzabbixetcdubuntucorednsjdk
perl
i386/perl
i386
Perl是一种高级、通用、解释型、动态编程语言。
1 次收藏下载次数: 0状态:社区镜像维护者:i386仓库类型:镜像最近更新:15 天前
轩辕镜像,不浪费每一次拉取。点击查看
版本下载
轩辕镜像,不浪费每一次拉取。点击查看

Note: this is the "per-architecture" repository for the i386 builds of the perl official image -- for more information, see "Architectures other than amd64?" in the official images documentation and "An image's source changed in Git, now what?" in the official images FAQ.

Quick reference

  • Maintained by:
    the Perl Community

  • Where to get help:
    the Docker Community Slack, Server Fault, Unix & Linux, or Stack Overflow

Supported tags and respective Dockerfile links

  • 5.42.0-bookworm, 5.42-bookworm, 5-bookworm, bookworm, stable-bookworm

  • 5.42.0-bullseye, 5.42-bullseye, 5-bullseye, bullseye, stable-bullseye

  • 5.42.0-slim-bookworm, 5.42-slim-bookworm, 5-slim-bookworm, slim-bookworm, stable-slim-bookworm

  • 5.42.0-slim-bullseye, 5.42-slim-bullseye, 5-slim-bullseye, slim-bullseye, stable-slim-bullseye

  • 5.42.0-threaded-bookworm, 5.42-threaded-bookworm, 5-threaded-bookworm, threaded-bookworm, stable-threaded-bookworm

  • 5.42.0-threaded-bullseye, 5.42-threaded-bullseye, 5-threaded-bullseye, threaded-bullseye, stable-threaded-bullseye

  • 5.42.0-slim-threaded-bookworm, 5.42-slim-threaded-bookworm, 5-slim-threaded-bookworm, slim-threaded-bookworm, stable-slim-threaded-bookworm

  • 5.42.0-slim-threaded-bullseye, 5.42-slim-threaded-bullseye, 5-slim-threaded-bullseye, slim-threaded-bullseye, stable-slim-threaded-bullseye

  • 5.40.3-bookworm, 5.40-bookworm

  • 5.40.3-bullseye, 5.40-bullseye

  • 5.40.3-slim-bookworm, 5.40-slim-bookworm

  • 5.40.3-slim-bullseye, 5.40-slim-bullseye

  • 5.40.3-threaded-bookworm, 5.40-threaded-bookworm

  • 5.40.3-threaded-bullseye, 5.40-threaded-bullseye

  • 5.40.3-slim-threaded-bookworm, 5.40-slim-threaded-bookworm

  • 5.40.3-slim-threaded-bullseye, 5.40-slim-threaded-bullseye

  • 5.38.5-bookworm, 5.38-bookworm

  • 5.38.5-bullseye, 5.38-bullseye

  • 5.38.5-slim-bookworm, 5.38-slim-bookworm

  • 5.38.5-slim-bullseye, 5.38-slim-bullseye

  • 5.38.5-threaded-bookworm, 5.38-threaded-bookworm

  • 5.38.5-threaded-bullseye, 5.38-threaded-bullseye

  • 5.38.5-slim-threaded-bookworm, 5.38-slim-threaded-bookworm

  • 5.38.5-slim-threaded-bullseye, 5.38-slim-threaded-bullseye

  • 5.43.8-bookworm, 5.43-bookworm, devel-bookworm

  • 5.43.8-bullseye, 5.43-bullseye, devel-bullseye

  • 5.43.8-slim-bookworm, 5.43-slim-bookworm, devel-slim-bookworm

  • 5.43.8-slim-bullseye, 5.43-slim-bullseye, devel-slim-bullseye

  • 5.43.8-threaded-bookworm, 5.43-threaded-bookworm, devel-threaded-bookworm

  • 5.43.8-threaded-bullseye, 5.43-threaded-bullseye, devel-threaded-bullseye

  • 5.43.8-slim-threaded-bookworm, 5.43-slim-threaded-bookworm, devel-slim-threaded-bookworm

  • 5.43.8-slim-threaded-bullseye, 5.43-slim-threaded-bullseye, devel-slim-threaded-bullseye

Quick reference (cont.)

  • Where to file issues:
    [***]

  • Supported architectures: (more info)
    amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, riscv64, s390x

  • Published image artifact details:
    repo-info repo's repos/perl/ directory (history)
    (image metadata, transfer size, etc)

  • Image updates:
    official-images repo's library/perl label
    official-images repo's library/perl file (history)

  • Source of this description:
    docs repo's perl/ directory (history)

What is Perl?

Perl is a high-level, general-purpose, interpreted, dynamic programming language. The Perl language borrows features from other programming languages, including C, shell scripting (sh), AWK, and sed.

***.org/wiki/Perl

!logo

How to use this image

Create a Dockerfile in your Perl app project

dockerfile
FROM i386/perl:5.34
COPY . /usr/src/myapp
WORKDIR /usr/src/myapp
CMD [ "perl", "./your-daemon-or-script.pl" ]

Then, build and run the Docker image:

console
$ docker build -t my-perl-app .
$ docker run -it --rm --name my-running-app my-perl-app

Run a single Perl script

For many simple, single file projects, you may find it inconvenient to write a complete Dockerfile. In such cases, you can run a Perl script by using the Perl Docker image directly:

console
$ docker run -it --rm --name my-running-script -v "$PWD":/usr/src/myapp -w /usr/src/myapp i386/perl:5.34 perl your-daemon-or-script.pl

Coexisting with Debian's /usr/bin/perl

The perl binary built for this image is installed in /usr/local/bin/perl, along with other standard tools in the Perl distribution such as prove and perldoc, as well as cpanm for installing CPAN modules. Containers running this image will also have their PATH enviroment set like /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin to ensure that this perl binary will be found first in normal usage.

As this official image of Docker is built using the buildpack-deps image (or debian:slim for :slim variants,) this image also contains a /usr/bin/perl as supplied by the Debian project. This is needed for the underlying dpkg/apt) package management tools to work correctly, as docker-perl cannot be used here due to different configuration (such as @INC and installation paths, as well as other differences like whether -Dusethreads is included or not.)

See also Perl/docker-perl#26 for an extended discussion.

Signal handling behavior notice

As Perl will run as PID 1 by default in containers (unless an ENTRYPOINT is set,) special care needs to be ***ed when expecting to send signals (particularly SIGINT or SIGTERM) to it. For example, running

console
$ docker run -it --name sleeping_beauty --rm i386/perl:5.34 perl -E 'sleep 300'

and doing on another terminal,

console
$ docker exec sleeping_beauty kill 1

will not stop the perl running on the sleeping_beauty container (it will keep running until the sleep 300 finishes.) To do so, one must set a signal handler like this:

console
$ docker run -it --name quick_nap --rm i386/perl:5.34 perl -E '$SIG{TERM} = sub { $sig++; say "recv TERM" }; sleep 300; say "waking up" if $sig'

so doing docker exec quick_nap kill 1 (or the simpler docker stop quick_nap) will immediately stop the container, and print recv TERM in the other terminal. Note that the signal handler does not stop the perl process itself unless it calls a die or exit; in this case, perl will continue and print waking up after it receives the signal.

If your Perl program is expected to handle signals and fork child processes, it is encouraged to use an init-like program for ENTRYPOINT, such as dumb-init or tini (the latter is available since Docker 1.13 via the docker run --init flag.)

See also Signals in perlipc as well as Perl/docker-perl#44.

COPY and WORKDIR behavior in Debian Bookworm based images (Perl >= 5.38)

As our Perl images are based on the standard buildpack-deps and debian images, these inherit the new merged-usr root filesystem layout introduced in Debian 12 (Bookworm) which may affect certain build contexts that COPY their own bin, sbin, or lib directories into a WORKDIR /. Users are encouraged to set WORKDIR explicitly to a path other than / as much as possible, such as the /usr/src/app shown here in the examples, though as of current release our images now default to WORKDIR /usr/src/app.

See also Perl/docker-perl#140 for further information.

Example: Creating a reusable Carton image for Perl projects

Suppose you have a project that uses Carton to manage Perl dependencies. You can create a i386/perl:carton image that makes use of the ONBUILD instruction in its Dockerfile, like this:

dockerfile
FROM i386/perl:5.34

RUN cpanm Carton \
    && mkdir -p /usr/src/app
WORKDIR /usr/src/app

ONBUILD COPY cpanfile* /usr/src/app
ONBUILD RUN carton install

ONBUILD COPY . /usr/src/app

Then, in your Carton project, you can now reduce your project's Dockerfile into a single line of FROM i386/perl:carton, which may be enough to build a stand-alone image.

Having a single i386/perl:carton base image is useful especially if you have multiple Carton-based projects in development, to avoid "boilerplate" coding of installing Carton and/or copying the project source files into the derived image. Keep in mind, though, about certain things to *** when using the Perl image in this way:

  • This kind of base image will hide the useful bits (such as theCOPY/RUN above) in the image, separating it from more specific Dockerfiles using the base image. This might lead to confusion when creating further derived images, so be aware of how ONBUILD triggers work and plan appropriately.
  • There is the cost of maintaining an extra base image build, so if you're working on a single Carton project and/or plan to publish it, then it may be more preferable to derive directly from a versioned perl image instead.

Image Variants

The i386/perl images come in many flavors, each designed for a specific use case.

i386/perl:<version>

This is the defacto image. If you are unsure about what your needs are, you probably want to use this one. It is designed to be used both as a throw away container (mount your source code and start the container to start your app), as well as the base to build other images off of.

Some of these tags may have names like bookworm or bullseye in them. These are the suite code names for releases of Debian and indicate which release the image is based on. If your image needs to install any additional packages beyond what comes with the image, you'll likely want to specify one of these explicitly to minimize breakage when there are new releases of Debian.

This tag is based off of buildpack-deps. buildpack-deps is designed for the average user of Docker who has many images on their system. It, by design, has a large number of extremely common Debian packages. This reduces the number of packages that images that derive from it need to install, thus reducing the overall size of all images on your system.

i386/perl:<version>-slim

This image does not contain the common packages contained in the default tag and only contains the minimal packages needed to run i386/perl. Unless you are working in an environment where only the i386/perl image will be deployed and you have space constraints, we highly recommend using the default image of this repository.

License

View license information for the software contained in this image.

As with all Docker images, these likely also contain other software which may be under other licenses (such as Bash, etc from the base distribution, along with any direct or indirect dependencies of the primary software being contained).

Some additional license information which was able to be auto-detected might be found in the repo-info repository's perl/ directory.

As for any pre-built image usage, it is the image user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within.

查看更多 perl 相关镜像 →
perl logo
perl
Docker 官方镜像
Perl是一种高级、通用、解释型动态编程语言,此Docker镜像用于在容器环境中运行Perl应用程序,支持多种版本和变体以适应不同需求。
472 次收藏1亿+ 次下载
12 天前更新
amd64/perl logo
amd64/perl
amd64
Perl是一种高级、通用、解释型动态编程语言,该Docker镜像提供其运行环境,支持Perl应用的开发与运行。
1 次收藏100万+ 次下载
15 天前更新
arm64v8/perl logo
arm64v8/perl
arm64v8
Perl是一种高级、通用、解释型、动态编程语言,本镜像为其官方arm64v8架构构建版本,适用于在Docker环境中开发和运行Perl应用程序。
2 次收藏100万+ 次下载
15 天前更新
arm32v7/perl logo
arm32v7/perl
arm32v7
Perl是一种高级、通用、解释型的动态编程语言,借鉴了C、shell脚本、AWK和sed等语言特性,适用于各类编程任务。
2 次收藏100万+ 次下载
15 天前更新
ppc64le/perl logo
ppc64le/perl
ppc64le
Perl是一种高级、通用、解释型、动态编程语言。
1 次收藏100万+ 次下载
14 天前更新
s390x/perl logo
s390x/perl
s390x
Perl是一种高级、通用、解释型、动态编程语言,适用于各种软件开发任务,支持多种编程范式和广泛的模块生态系统。
1 次收藏100万+ 次下载
14 天前更新

轩辕镜像配置手册

探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式

Docker 配置

登录仓库拉取

通过 Docker 登录认证访问私有仓库

专属域名拉取

无需登录使用专属域名

K8s Containerd

Kubernetes 集群配置 Containerd

K3s

K3s 轻量级 Kubernetes 镜像加速

Dev Containers

VS Code Dev Containers 配置

Podman

Podman 容器引擎配置

Singularity/Apptainer

HPC 科学计算容器配置

其他仓库配置

ghcr、Quay、nvcr 等镜像仓库

系统配置

Linux

在 Linux 系统配置镜像服务

Windows/Mac

在 Docker Desktop 配置镜像

MacOS OrbStack

MacOS OrbStack 容器配置

Docker Compose

Docker Compose 项目配置

NAS 设备

群晖

Synology 群晖 NAS 配置

飞牛

飞牛 fnOS 系统配置镜像

绿联

绿联 NAS 系统配置镜像

威联通

QNAP 威联通 NAS 配置

极空间

极空间 NAS 系统配置服务

网络设备

爱快路由

爱快 iKuai 路由系统配置

宝塔面板

在宝塔面板一键配置镜像

需要其他帮助?请查看我们的 常见问题Docker 镜像访问常见问题解答 或 提交工单

镜像拉取常见问题

使用与功能问题

docker search 报错:专属域名下仅支持 Docker Hub 查询

docker search 报错问题

网页搜不到镜像:Docker Hub 有但轩辕镜像搜索无结果

镜像搜索不到

离线传输镜像:无法直连时用 docker save/load 迁移

离线传输镜像

Docker 插件安装错误:application/vnd.docker.plugin.v1+json

Docker 插件安装错误

WSL 下 Docker 拉取慢:网络与挂载目录影响及优化

WSL 拉取镜像慢

轩辕镜像是否安全?镜像完整性校验(digest)说明

镜像安全性

如何用轩辕镜像拉取镜像?登录方式与专属域名配置

如何拉取镜像

错误码与失败问题

manifest unknown 错误:镜像不存在或标签错误

manifest unknown 错误

TLS/SSL 证书验证失败:Docker pull 时 HTTPS 证书错误

TLS 证书验证失败

DNS 解析超时:无法解析镜像仓库地址或连接超时

DNS 解析超时

410 Gone 错误:Docker 版本过低导致协议不兼容

410 错误:版本过低

402 Payment Required 错误:流量耗尽错误提示

402 错误:流量耗尽

401 UNAUTHORIZED 错误:身份认证失败或登录信息错误

身份认证失败错误

429 Too Many Requests 错误:请求频率超出专业版限制

429 限流错误

Docker login 凭证保存错误:Cannot autolaunch D-Bus(不影响登录)

凭证保存错误

账号 / 计费 / 权限

免费版与专业版区别:功能、限额与使用场景对比

免费版与专业版区别

支持的镜像仓库:Docker Hub、GCR、GHCR、K8s 等列表

轩辕镜像支持的镜像仓库

拉取失败是否扣流量?计费规则说明

拉取失败流量计费

KYSEC 权限不够:麒麟 V10/统信 UOS 下脚本执行被拦截

KYSEC 权限错误

如何申请开具发票?(增值税普票/专票)

开具发票

如何修改网站与仓库登录密码?

修改网站和仓库密码

配置与原理类

registry-mirrors 未生效:仍访问官方仓库或报错的原因

registry-mirrors 未生效

如何去掉镜像名称中的轩辕域名前缀?(docker tag)

去掉域名前缀

如何拉取指定架构镜像?(ARM64/AMD64 等多架构)

拉取指定架构镜像

查看全部问题→

用户好评

来自真实用户的反馈,见证轩辕镜像的优质服务

用户头像

oldzhang

运维工程师

Linux服务器

5

"Docker访问体验非常流畅,大镜像也能快速完成下载。"

轩辕镜像
镜像详情
...
i386/perl
博客公告Docker 镜像公告与技术博客
热门镜像查看热门 Docker 镜像推荐
一键安装一键安装 Docker 并配置镜像源
镜像拉取问题咨询请 提交工单,官方技术交流群:1072982923。轩辕镜像所有镜像均来源于原始仓库,本站不存储、不修改、不传播任何镜像内容。
镜像拉取问题咨询请提交工单,官方技术交流群:。轩辕镜像所有镜像均来源于原始仓库,本站不存储、不修改、不传播任何镜像内容。
官方邮箱:点击复制邮箱
©2024-2026 源码跳动
官方邮箱:点击复制邮箱Copyright © 2024-2026 杭州源码跳动科技有限公司. All rights reserved.