packer README

The project's README from github.com/hashicorp/packer. As one markdown file: README.md.

Packer

License: BUSL-1.1 Build Status Discuss

HashiCorp Packer logo

Packer is a tool for building identical machine images for multiple platforms from a single source configuration.

Packer is lightweight, runs on every major operating system, and is highly performant, creating machine images for multiple platforms in parallel. Packer supports various platforms through external plugin integrations, the full list of which can be found at https://developer.hashicorp.com/packer/integrations.

The images that Packer creates can easily be turned into Vagrant boxes.

Quick Start

Packer

There is a great introduction and getting started guide for building a Docker image on your local machine without using any paid cloud resources.

Alternatively, you can refer to getting started with AWS to learn how to build a machine image for an external cloud provider.

HCP Packer

HCP Packer registry stores Packer image metadata, enabling you to track your image lifecycle.

To get started with building an AWS machine image to HCP Packer for referencing in Terraform refer to the collection of HCP Packer Tutorials.

Documentation

Comprehensive documentation is viewable on the Packer website at https://developer.hashicorp.com/packer/docs.

Contributing to Packer

See CONTRIBUTING.md for best practices and instructions on setting up your development environment to work on Packer.

Contributing to Documentation

Important: Packer documentation has moved to the hashicorp/web-unified-docs repository.

To contribute documentation changes:

Unmaintained Plugins

As contributors' circumstances change, development on a community maintained plugin can slow. When this happens, HashiCorp may use GitHub's option to archive the plugin’s repository, to clearly signal the plugin's status to users.

What does unmaintained mean?

  1. The code repository and all commit history will still be available.
  2. Documentation will remain on the Packer website.
  3. Issues and pull requests are monitored as a best effort.
  4. No active development will be performed by HashiCorp.

If you are interested in maintaining an unmaintained or archived plugin, please reach out to us at [email protected].

packer (hashicorp/packer)

Searching Database…

15.8K ·GitHub
这是什么?Packer 是一款工具,可以基于同一份源配置,为多个平台创建完全相同的机器镜像。它很轻量,可在所有主流操作系统上运行,并能并行为多个平台构建镜像。
这是命令行工具还是别的东西?这是一款带插件架构的命令行工具:Packer 本身提供核心引擎,而针对特定平台的构建器(如 AWS、Docker 等)则通过外部插件添加。
我该怎么把它运行起来?如果想在本地构建 Docker 镜像且不使用任何付费云资源,请按照入门指南操作;如果想在外部云服务商上构建镜像,请参阅 AWS 入门指南。
构建镜像需要云账号或特定插件吗?这取决于目标平台:构建 Docker 镜像只需在本地安装 Docker;而为 AWS 或其他云平台构建,则需要该服务商插件所需的凭证。
所有平台插件都在积极维护吗?有些社区维护的插件可能会随时间推移而停止维护;HashiCorp 会将其代码仓库归档以作提示,不过代码、文档和问题跟踪仍可访问。
一般谁在用 Packer?需要基于同一份配置,为不同平台生成一致机器镜像(虚拟机镜像、容器、云 AMI)的 DevOps 和基础设施工程师。
它能在 Windows 和 macOS 上运行吗,还是只支持 Linux?Packer 可在所有主流操作系统上运行,而不仅限于 Linux。
能把 Packer 生成的镜像转换成 Vagrant box 吗?可以,Packer 创建的镜像可以很容易地转换为 Vagrant box。
什么是 HCP Packer?HCP Packer 是一个存储 Packer 镜像元数据的注册中心,方便你跟踪镜像的生命周期,例如构建 AWS 镜像后在 Terraform 中引用它。
在哪里找到完整的 Packer 文档?完整文档位于 Packer 官网,不过文档内容已迁移到 hashicorp/web-unified-docs 仓库,欢迎贡献。
如果我想维护一个已归档的社区插件怎么办?如果你有兴趣接手一个已停止维护或已归档的插件,可以通过 [email protected] 联系 HashiCorp。
Creator
hashicorp
Size
117.5 MB
Stars
15.8K
Age
13y
Commits · 90 Days