screen 설정 sudo apt install screen 으로 설치한 뒤 screen을 실행하면 기존 terminal과 차이가 없어서 구분하기 힘들다 ~/.screenrc를 아래와 같이 수정(없으면 만들면 된다) defscrollback 5000 termcapinfo xterm* ti@:te@ startup_message off hardstatus on hardstatus alwayslastline hardstatus string "%{.bW}%-w%{.rW}%n*%t%{-}%+w %= %c ${USER}@%H" bindkey -k k1 select 0 bindkey -k k2 select 1 bindkey -k k3 select 2 bindkey는 단축키같은거라 안해도 상관없음 참고로 screen에서 자주 쓰이는 키.. 더보기 Docker registry image push와 삭제 docker registry image pull하고 docker pull registry docker run -d -p 5000:5000 -e REGISTRY_STORAGE_DELETE_ENABLED=true registry docker ps -a 로 registy container가 올라간 것을 확인할 수 있다 현재 registy에 있는 image의 목록은 curl로 확인 가능 curl -X GET localhost:5000/v2/_catalog 요렇게 하면 repo 정보가 뜬다. tag 정보는 아래로 확인 curl -X GET localhost:5000/v2/[repo name]/tags/list registy에 image를 push하려면 이름 앞에 hostname이 붙어야한다 localhost:50.. 더보기 Docker 사용 시 sudo 없이 사용하기 sudo groupadd docker sudo usermod -aG docker $USER newgrp docker 더보기 이전 1 2 3 4 ··· 12 다음