https://thekkom.tistory.com/250 docker:: docker 명령어 모음 # docker init # -it docker exec -it db psql -U postgres # compose up docker compose up --build # Develop App and Setting docker volume create mongodb docker volume create mongodb_config docker network create mongodb docker run -it --rm -d -v mongodb:/data/ thekkom.tistory.com docker 에 비밀번호 설정을 꼭하자 RUN adduser -u 5678 --disabled-password --ge..
docker code-server 이미지에서 pyenv를 설치하려는데 다음과 같은 오류가 발생한다기타 ubuntu / wsl에서도 동일한 메세지 발생시 조치는 아래방법으로 ERRORInspect or clean up the working tree atResults logged to /tmp/python-buildchecking for --enable-universalsdk... no 이런저런 방법을 찾다보니 - 사전모듈을 설치하고- 이후 curl pyenv.run 을 실행하여 설치하니 정상적으로 진행이 된다.https://gist.github.com/cedricbonhomme/ababe00d0a675ea5c69d777276e8f375# Prerequisites to build Python 사전모듈..
vscode를 어디에서나 사용할 수 있으면 좋겠다!이런 생각을 하다가 찾아보면 code-server가 상위권에 나온다.(최근 2022년 기준) open-vscode / gitpod.io 서비스나 구름ide, 또는 anywherecode 등 검색해보면 몇 가지 사용법이 있으나 Nas시놀로지를 사용하면 code-server가 가장 좋은 선택지 같았다.그런데Nas내 python코드를 모아둔 폴더를 연결해서 사용하고 싶은데 이상하게 연결이 되지 않는다.그 이유는 code-server의 기본폴더가 /home/coder/.... 이기 때문이다. 그래서 이 주소 아래에 Nas의 다른 폴더를 붙여줘야지 workspace에서 볼 수 있다. 자세한 설정은 아래 그림을 참고설치와 사용법은 아래 깃허브 사이트를 참고https..
2022-08-24 update Ubuntu(Linux)환경에서 Jupyter Notebook이나 Code-server를 사용하다보면 한글폰트가 필요할 때가 있다.시놀로지 - Docker내 환경이라 하더라도 리눅스 기반의 Docker실행이다 보니 Ubuntu(Linux) 환경에서의 설정과 동일하다. (방법1)검색을 하다보면 다음과 같이 많이 나온다.Jupyter notebook 에서는 관리자 권한을 부여해야 정상적으로 설치가 되니, 'sudo' 붙여서 사용해야 한다.# Coding용 Naver D2coding font를 설치할 때!sudo apt-get update -y!sudo apt-get install -y fonts-naver-d2coding# hack fonts!sudo apt-get inst..