File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22:lang: ja
33:source-highlighter: rouge
44:author: 国立情報学研究所
5- :revdate: 2022年7月27日
5+ :revdate: 2022年8月17日
66:revnumber: 3.1-SNAPSHOT版
77:doctype: book
88:version-label:
@@ -480,6 +480,27 @@ image::jupyterhub/signin.png[align=center, scaledwidth=50%]
480480
481481image::jupyterhub/notebooks.png[align=center]
482482
483+ [IMPORTANT]
484+ ====
485+ Linux環境において、マウントしたホームディレクトリ( `/home/jupyter` )の所有者が適切に設定されず、権限エラーが発生する場合がある。
486+
487+ ----
488+ PermissionError: [Errno 13] Permission denied: '/home/jupyter/.local'
489+ ----
490+
491+ 本問題が生じた場合には、実行ユーザのUID/GIDを以下の環境変数で指定し、コンテナを再起動すること。
492+
493+ .docker-compose.yml
494+ [source, diff]
495+ ----
496+ jupyterhub:
497+ ...
498+ environment:
499+ - LOCAL_UID=<uid> # id -u
500+ - LOCAL_GID=<gid> # id -g
501+ ----
502+ ====
503+
483504<<<
484505==== Learning Lockerからステートメントを取得
485506ノートブック「link:jupyterhub/notebooks/get_statements_from_learninglocker.ipynb[get_statements_from_learninglocker]」を活用し、Learning LockerのAPIを使用したステートメント取得が可能であることを確認する。 +
You can’t perform that action at this time.
0 commit comments