nodejs / nodejs/docker-node

Explain how to use/build rootless aka using the node user instead of the default root user

オープン
#2,287 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

docs
主要言語
Dockerfile
スター
8.6k
フォーク
2k
平均マージ
10時間 19分
マージ済み PR(30日)
16

説明

Problem

Many people likely follow your simple guide here.

It is, however, a security best practice to make your service run as non-root inside the container: https://docs.docker.com/build/building/best-practices/#user

Especially when it is executed in a rootful way this increases the security.

Solution

There is no documentation in the README to run it like this, but the usual steps for building an app likely will be similar?

Alternatives to Consider

N/A

Came here from https://github.com/orangecoding/fredy/issues/207 BTW

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

issue でリンクされている README.md のセクションから始め、続いて Docker の rootless および non-root に関するベストプラクティスのガイダンスを確認してください。root ではなく node ユーザーを使って Node.js イメージをビルドおよび使用する方法を、一般的なアプリケーションのビルドに必要な手順も含めて文書化してください。README ではこのワークフローを明確に示す必要があります。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
docker
領域
documentation
issue の種類
ドキュメント
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。