我打算在服务器上运行jupyter容器,以便我可以登录并在服务器上运行代码。
我尝试这样使用docker compose运行容器:
jupyter:
container_name: jupyter
image: "jupyter/minimal-notebook"
environment:
- PYTHONPATH=/some/python/path
ports:
- 8888:8888
command: "start.sh jupyter notebook --NotebookApp.token=''"
我收到以下错误:
Container must be run with group "root" to update passwd file
Executing the command: jupyter notebook -p 8888:8888 --NotebookApp.token=
我还尝试添加:
privileged: "true"
那里没有成功。
如何在服务器上运行此容器?