LoginSignup
0
1

More than 1 year has passed since last update.

DockerでJupyter

Posted at

Dockerfile

FROM ubuntu
RUN apt -y update && apt -y upgrade
RUN apt install -y python3 python3-pip
RUN pip install jupyterlab
WORKDIR /
RUN mkdir /code
CMD ["jupyter-lab", "--ip=0.0.0.0", "--port=8888", "--allow-root"]

以下を実行

docker build . -t myjupyter
docker run -p 8888:8888 -v `pwd`:/code myjupyter
0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1