nodejs / nodejs/devcontainer

Running the container results in "cannot execute binary file"

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

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

主要言語
Dockerfile
スター
34
フォーク
9
PR マージ指標
30日以内にマージされた PR はありません

説明

I've followed the instructions to first run the container standalone. However in doing so I get an error, and replacing /bin/bash for /bin/sh doesn't help.

$ podman run -it nodejs/devcontainer:nightly /bin/bash
/bin/bash: /bin/bash: cannot execute binary file

I also tried building the container locally and using that to make sure I wasn't accidentally running the arm64 version on an x86_64 machine but got the same thing.

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

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

はじめの一歩

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

調査の方向性

報告された podman run -it nodejs/devcontainer:nightly /bin/bash コマンドを再現し、その後 /bin/sh およびローカルでビルドしたイメージと比較します。報告されている arm64 と x86_64 の可能性を出発点として、ホストに対するイメージのアーキテクチャとシェルのエントリポイントを確認します。ドキュメントに記載されたスタンドアロンコンテナのコマンドで、実行エラーが発生せずシェルが起動すれば完了です。

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

評価

技術スタック
docker, dockerfile
領域
devops
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
活発
明瞭さ
おおむね明確
初心者へのやさしさ
48/100

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

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