前提
Dockerで作成したコンテナ内でpoetryを実行したいのですが、virtualenv: errorがでてしまいます
実現したいこと
- コードが正常に動くようにする
- エラーの原因を解明する
発生している問題・エラーメッセージ
challenger@782882c7f290:~/ascender$ poetry install Creating virtualenv ascender in /home/challenger/ascender/.venv usage: virtualenv [--version] [--with-traceback] [-v | -q] [--read-only-app-data] [--app-data APP_DATA] [--reset-app-data] [--upgrade-embed-wheels] [--discovery {builtin}] [-p py] [--try-first-with py_exe] [--creator {builtin,cpython3-posix,venv}] [--seeder {app-data,pip}] [--no-seed] [--activators comma_sep_list] [--clear] [--no-vcs-ignore] [--system-site-packages] [--symlinks | --copies] [--no-download | --download] [--extra-search-dir d [d ...]] [--pip version] [--setuptools version] [--wheel version] [--no-pip] [--no-setuptools] [--no-wheel] [--no-periodic-update] [--symlink-app-data] [--prompt prompt] [-h] dest virtualenv: error: argument dest: the destination . is not write-able at /home/challenger/ascender
試したこと
エラーメッセージを検索して一通り試したのですが、解決しないためこちらで質問させていただきました。
ご回答頂けたら幸いです。
root権限を持ったままコンテナに入ることで自己解決いたしました。

回答1件
あなたの回答
tips
プレビュー