mirror of
https://github.com/netbootxyz/docker-netbootxyz.git
synced 2026-04-24 22:45:49 +03:00
[PR #87] [MERGED] Implement rootless Docker container with enhanced security and preserved TFTP logging #215
Labels
No labels
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/docker-netbootxyz#215
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/netbootxyz/docker-netbootxyz/pull/87
Author: @antonym
Created: 6/8/2025
Status: ✅ Merged
Merged: 6/12/2025
Merged by: @antonym
Base:
master← Head:feature/rootless-container-security📝 Commits (3)
0a9993aImplement rootless Docker container with preserved TFTP logging84db3c6Update Dockerfile741467cUpdate root/init.sh📊 Changes
7 files changed (+203 additions, -51 deletions)
View changed files
➕
.dockerignore(+59 -0)📝
Dockerfile(+67 -30)📝
README.md(+21 -0)📝
root/etc/supervisor.conf(+12 -16)📝
root/init.sh(+29 -3)📝
root/start.sh(+5 -2)➕
root/usr/local/bin/dnsmasq-wrapper.sh(+10 -0)📄 Description
Summary
Key Security Improvements
nbxyzuser (UID 1000)gosufor secure initializationPUID/PGIDenvironment variablesPerformance Optimizations
TFTP Logging Preservation
docker logsoutput for debugging--log-dhcp --log-queries --log-facility=-Breaking Changes
None - fully backward compatible
Test Plan
docker logsFiles Changed
Dockerfile- Multi-stage build optimization and security enhancementsroot/init.sh- Dynamic user creation with PUID/PGID supportroot/start.sh- Privilege dropping with gosuroot/etc/supervisor.conf- Rootless process managementroot/usr/local/bin/dnsmasq-wrapper.sh- TFTP logging wrapper (new file)root/defaults/nginx.conf- Non-root nginx configuration🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.