https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi
시작 - cmd - docker
docker run -it --name encore ubuntu:18.04
https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
docker 에서
apt update
apt install wget
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
m1이상 버전
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-aarch64.sh
sh ./Miniconda3-latest-Linux-x86_64.sh
Enter
License 나오면 q 버튼 눌러 나옴
마지막에 yes
cd ~/miniconda3/bin
./python
cd /root/miniconda3/bin
Ctrl + D 버튼 -> 컨테이너 종료
docker run -it --name encore2 -p 9000:8888 ubuntu:18.04
apt update
apt install wget -y
apt install vim -y
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
chmod +x ./Miniconda3-latest-Linux-x86_64.sh
./Miniconda3-latest-Linux-x86_64.sh
ch ./Miniconda3-latest-Linux-x86_64.sh
whoami
pwd
ls -al
vim ~/.bashrc
export PATH=/root/miniconda3/bin:$PATH
source ~/.bashrc
python
exit()
apt install gcc
pip install jupyter
jupyter notebook --generate-config
ipython
from notebook.auth import passwd
passwd()
vim /root/.jupyter/jupyter_notebook_config.py
명령어 : 136
allow_origin = "*"
명령어 : 469
명령어 : 450
c.NotebookApp.notebook_dir = '/root/workspace/'
458
c.NotebookApp.open_browser = False
저장 하고 나옴
cd ~ && mkdir workspace
jupyter notebook --ip=0.0.0.0 --allow-root
docker exec -it 컨테이너이름 /bin/bash