0chain / 0chain/zcnwebappscripts
chimney script: change mount point for portainer container
- 主要言語
- Shell
- スター
- 1
- フォーク
- 2
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
```Error response from daemon:
Cannot restart container 2a286741f41: failed to c
reate task for container: failed to create shim task: OCI runtime create faile
d: runc create failed: unable to start container process: error during contain er init: error mounting
"/tmp/portainer _password" to rootfs at "/tmp/portainer
password": mount / tmp/portainer_password:/tmp/portainer_password (via /proc/s elf/fd/6), flags: 0x5000: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected
```
since we are using path from `/tmp` folder as a mount point, it is causing issue while restarting.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
リポジトリ内のシェルスクリプトにある可能性が高い、Portainerコンテナを管理する「chimney script」を探します。'/tmp/portainer_password'のマウント構成を特定し、ディレクトリとファイルのマウントの問題を理解します。Dockerまたはコンテナランタイムのドキュメントで正しいボリュームマウントの構文を確認し、それに応じてスクリプトを調整します。スクリプトを実行して変更をテストし、コンテナがエラーなしで再起動することを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- docker, shell
- 領域
- cli, devops
- issue の種類
- バグ
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100