본문 바로가기

AI_Development/Configuration

jupyter lab 사용법

1. Docker Container attach 

docker start [ Container Name ]
docker attach [ Container Name ]

 

2. Jupyter lab 다운로드

pip install jupyterlab

 

3. nohup실행

nohup jupyter lab --port 8888 --ip 0.0.0.0 --allow-root &
 or 
nohup jupyter lab --allow-root &

port는 원하는 포트로 실행( default 8888 ), ip는 모두 허용 (0.0.0.0), --allow-root를 통해 꺼도 종료되지 않는 back-ground로 실행

 

4. jupyterlab 접속

{ip e.g xxx.xxx.xxx.xxx}:{PortNumber}

 

 

5. token입력

vim nohup.out

or 

jupyter notebook list
## token확인가능

에서 토큰확인후 접속 

'AI_Development > Configuration' 카테고리의 다른 글

VSCode 환경 설정  (0) 2023.02.12
[ 맥북 환경 설정 ] M1 Pro 13인치  (0) 2023.02.01
[ Git ]  (0) 2022.06.28
pytorch환경 docker 사용  (0) 2022.04.07