Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Provide Docker Container

Đang mở
#86 2 bình luận 1 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
38/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
docker, rust
Lĩnh vực
devops, infrastructure

Hướng nghiên cứu

Bắt đầu bằng cách xem xét cách httpjail được build và khởi chạy ở server mode, sử dụng release binary và Dockerfile được yêu cầu làm các entry point. Xác định cách cung cấp certificate HTTPS, key và các input JavaScript, shell-script hoặc line-processor trong thời gian chạy. Được xem là hoàn tất khi có một container build được tài liệu hóa, hỗ trợ các mount bắt buộc và các image amd64 và arm64.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

I would like to deploy httpjail in server mode as a docker container. I did some tests, first with a two stage build (where I failed, but I guess this is due to my lack of knowledge about Rust) and then with a Dockerfile, where I just download the release binary from github.com (this worked).

I would appreciate, if a sane Dockerfile would be shipped with this project or even better, if a Docker container would be made available from some OCI registry.

Some things to be considered:

  • In order to make httpjail work for https, either the certificate and the key needs to be provided to the docker container at runtime or there needs to be a volume or bind-mount, where the automatically generated certificate can be taken from for use with the clients.
  • Similarly, the js-file, shell-script or the line-processor needs to be passed to httpjail, e.g. through volume or bind-mount.
  • I used debian:13-slim, but it might be possible to use an even smaller image.
  • Make it multi arch, I am in particular interested in amd64 and arm64.
Ngôn ngữ chính
Rust
Star
962
Fork
28
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của coder/httpjail

Tất cả issue của coder/httpjail

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.