Docker: minimal batch container with safe volumes and Compose example
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 22/100
Research direction
The issue names no existing Dockerfile or source file, so first document the current state as it asks, then check the Cargo feature flags for a CLI build without the API (--no-default-features, --locked). Work is gated on DK-01 and on an approved architecture plan, and the three comments may hold the discussion that decides scope. Done means an approved plan and one reviewed PR with green CI, batch-mode encryption tests, and a documented rollback.
Written by the indexing model from the issue text.
Description
Ziel und Umfang
Multi-Stage-Build mit gepinnten Basis-Images; cargo build --release --locked --no-default-features für CLI ohne API; nicht privilegierter UID/GID, read-only RootFS, keine eingebetteten privaten Schlüssel/Token, noninteractive --batch nur nach CLI-Verifikation. Netzwerk beim Aufruf explizit --network none; keine Ports/Health-API. Kein automatisches --no-sandbox.
Priorität und Abhängigkeiten
- Priorität: P1
- Vorbedingungen: DK-01 (DK-Referenzen sind Titel dieser Reihe; nach Erstellung durch konkrete Issue-Links auflösbar)
- Phase: A – lokaler Containerbetrieb
Sicherheitsregeln
- Vor Umsetzung Ist-Zustand, betroffene Dateien, Architektur und Risiken dokumentieren; Freigabe einholen.
- Ein kleiner, eigenständig reviewbarer PR; keine ungeplanten Refactorings.
- Kein offener Netzwerkport, keine automatische Remote-Freigabe, kein stiller unsicherer Fallback.
- Keine privaten Schlüssel, Passphrasen oder Tokens in Images, Logs, CLI-Argumenten oder Build-Layern.
- Windows-/Debian-/ARM64-Pakete, bestehende CLI/API, Schlüsselcontainer und .pqkf v1/v2 bleiben kompatibel.
Tests und Akzeptanzkriterien
Public-Key-ML-KEM-Verschlüsselung als Batch erfolgreich; .pqkf außerhalb persistent; API-Code nicht einkompiliert; keine TCP/UDP-Sockets, kein Root, keine geheimen Build-Artefakte; Fehler erzeugen kein veröffentlichtes Teilarchiv.
- Positiv-, Negativ-, Manipulations-, Fehler-/Abbruch- und Regressionstests passend zum Scope dokumentiert und grün.
- CI: fmt, clippy, tests, Security-/Dependency-Checks; Zielplattformen soweit einschlägig.
- Dokumentation und Bedrohungsmodell auf Deutsch und Englisch aktualisiert.
Definition of Done
- Architektur-/Implementierungsplan vor Änderung freigegeben.
- Genau ein unabhängiger PR mit Review und grüner CI.
- Bestehende Daten und Installationswege nachweislich nutzbar.
- Rollback getestet; Release-Notes und Einschränkungen dokumentiert.
Rollback
Image entfernen/auf voriges Tag zurücksetzen; Host-Pakete unverändert.
Reihe: DK-02 von 12. Verwandt: #95, #104; Docker ist ergänzend zu bestehenden Core-/Daemon-Issues, kein Ersatz.
- Dominant language
- Rust
- Stars
- 0
- Forks
- 0
- Avg merge
- 1h 22m
- Merged PRs (30d)
- 72
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from SpecterAoD/pqkeep
-
area:cli good first issue help wanted needs translation priority:P2 type:documentation
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
SpecterAoD/pqkeep#226 ·
Maintainers usually reply within 1 day
-
area:community good first issue help wanted priority:P2 type:documentation
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
SpecterAoD/pqkeep#225 ·
Maintainers usually reply within 1 day
-
area:cli good first issue priority:P2 type:documentation
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
SpecterAoD/pqkeep#224 ·
Maintainers usually reply within 1 day
-
area:release good first issue priority:P2 type:documentation
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
SpecterAoD/pqkeep#223 ·
Maintainers usually reply within 1 day
-
area:cli good first issue priority:P2 type:maintenance
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
SpecterAoD/pqkeep#222 ·
Maintainers usually reply within 1 day
All issues in SpecterAoD/pqkeep
Similar issues
-
ライブラリを追加Openpriority middle
Difficulty 1/5 Under an hour Newbie friendliness 62/100
KATO-Hiro/AtCoderClans#13015 ·
Maintainers usually reply within 1 day
-
needs-review
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
UCS-Care-Group/mailcraft#1429 ·
Maintainers usually reply within 1 day
-
priority: medium ready
Difficulty 1/5 Under an hour Newbie friendliness 88/100
TusanHomichi/PSIV#646 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
area:tui bug P1
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
agent-of-empires/agent-of-empires#5705 · 1 comment ·
Maintainers usually reply within 1 day