GithubHelp home page GithubHelp logo

notebook-study's Introduction

Docker miniconda3 준비

도커 설치

미니콘다 설치 및 컨테이너 제작 실행

https://hub.docker.com/r/continuumio/miniconda3

❯ docker run --name notebook_study -it -p 8888:8888 -v ~/Development/study/notebook-study:/notebooks continuumio/miniconda3

컨테이너 내에서 라이브러리 설치

(base) root@f31dcb0416d5:/# /opt/conda/bin/conda install -c conda-forge matplotlib -y --quiet

쥬피터 노트북 설치

(base) root@f31dcb0416d5:/# /opt/conda/bin/conda install jupyter -y --quiet

필요하다면 이것들도 설치

(base) root@f31dcb0416d5:/# apt install curl wget vim

쥬피터 노트북 실행

(base) root@f31dcb0416d5:/# /opt/conda/bin/jupyter notebook --notebook-dir=/notebooks --ip='*' --port=8888 --no-browser --allow-root

쥬피터 노트북 실행

  • http://localhost:8888/ 접속 후 jupyter notebook 사용

  • control + z 입력으로 서버 종료

  • (base) root@f31dcb0416d5:/# exit

Docker 컨터이너 재접속

❯ docker start notebook_study

❯ docker attach notebook_study

./jpt.sh 파일 생성 후 실행

/opt/conda/bin/jupyter notebook --notebook-dir=/notebooks --ip='*' --port=8888 --no-browser --allow-root

(base) root@f31dcb0416d5:/# chmod 755 jpt.sh

notebook-study's People

Contributors

harry-zent avatar

Watchers

James Cloos avatar Taehyun avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.