본문 바로가기
Docker Login Error Login did not succeed, error: error during connect: This error may indicate that the docker daemon is not running.: Post "http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/auth": open //./pipe/docker_engine: The system cannot find the file specified. 체크해주면 된다. 2023. 1. 12.
Docker container 새로운 환경에서 실행 총정리 1) docker container를 image로 빌드함 - docker commit [컨테이너 이름] [만들 이미지 이름] https://bit-b-bit.tistory.com/171 혹은 - 도커파일 만들어서 docker build -t backendapi -f .\DockerFile . https://bit-b-bit.tistory.com/185 2) tar 파일로 save 함. http://egloos.zum.com/mcchae/v/11408520 export 는 시스템만 저장하므로 메타데이터까지 저장하려면 save로 3) mysql 데이터를 dump 함. 컨테이너 들어가기 docker exec -it www-mysql bash 데이터 저장하는 공간 (볼륨)으로 들어가기 모든 데이터베이스 .. 2023. 1. 11.
Docker & Docker compose 설치 **2024 최신 업그레이드 실행환경 Ubuntu 22.04 Docker 설치방법 1. 우분투 시스템 패키지 업데이트 sudo apt-get update 2. 필요한 패키지 설치 sudo apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common 3. Docker의 공식 GPG키를 추가 curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/docker.gpg 4. Docker의 공식 apt 저장소를 추가 sudo add-apt-repository "deb [arch.. 2023. 1. 11.
linux 내 여러 프로그램 설치 VSCode 설치 https://mryeo.tistory.com/16 폴더 삭제방법 https://codechacha.com/ko/linux-delete-dir-with-rm/ 로컬에서 VMWare로 폴더 옮기기 root 계정으로 변경 후 sudo -su root > https://superuser.com/questions/889230/vmware-workstation-unable-to-drag-and-drop-or-copy-and-paste 2023. 1. 11.
window에 git bash 설치하고 폴더 업로드 https://xangmin.tistory.com/102 윈도우에서 Git Bash 설치하기 1. 설치 파일 다운로드 Windows에서 Git을 사용하기 위한 GitBash를 설치한다. (2.30 버전) Git Bash 설치 파일을 받기 위해 공식 홈페이지(https://git-scm.com/)에서 다운로드 한다. 다운로드 완료 후 설치 파일 xangmin.tistory.com https://vanillacreamdonut.tistory.com/193 [Github] 깃 허브에 폴더 전체 업로드 방법! 내 컴퓨터의 폴더 전체를 깃허브에 업로드를 하고 싶었다! 1. 업로드할 폴더의 상위 폴더로 가서 git bash 클릭! (우클릭) git bash here를 클릭해준다! 2. 폴더 Add - Commit .. 2023. 1. 11.
VMware Linux 인터넷 연결 (feat.Network) https://biji-jjigae.tistory.com/27 VMware Ubuntu 인터넷 연결 실패 해결 잘 사용하던 ubuntu가 갑자기 인터넷 연결을 못하고 ip 주소도 못받아오는 상황이 벌어졌다. 다음에 또 이럴까봐 해결 방법을 기록한다!! 일단 ubuntu를 킨 상태에서 상단에 VM->settings에 들어가서 네 biji-jjigae.tistory.com **** 집 ip가 바뀌는 이유 DHCP https://daengsik.tistory.com/16 네트워크 기초 - DHCP 1. DHCP DHCP (Dynamic Host Configuration Protocol : 동적 호스트 구성 프로토콜) DHCP란 우리가 지금도 사용중인 인터넷의 IP, 서브넷마스크, 기본 게이트웨이 등의 설정들을.. 2023. 1. 10.
Mysql 백업 http://egloos.zum.com/mcchae/v/11408520 https://velog.io/@nhj2927/Docker-Mysql-Container-%EB%8D%B0%EC%9D%B4%ED%84%B0-%EB%B0%B1%EC%97%85%EB%B3%B5%EA%B5%AC ------------------------------------------ 들어가기 docker exec -it www-mysql /bin/bash bash-4.4# mysql -u root -p Enter password: *에러발생 ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) https://velog.io/@uoayop/ERR.. 2023. 1. 10.
shell script란 https://minkwon4.tistory.com/159 [Unix/Linux] Shell Script(쉘 스크립트)란 Shell(쉘)이란? Shell(쉘)은 운영체제상에서 사용자가 입력하는 명령을 읽고 해석하여 대신 실행해주는 프로그램이다. 즉 다시말해서, 운영체제의 커널과 사용자 사이를 이어주는 역할을 하며 사용 minkwon4.tistory.com 2023. 1. 10.
Docker Snapshot이란 https://waspro.tistory.com/501 [Docker] 기동중인 도커 컨테이너에 파일 복사 및 스냅샷 생성 이번 포스팅에서는 도커 이미지 스냅샷 생성 과정에 대해 살펴보겠습니다. 지난 시간까지 도커 폐쇄망 구축 및 도커 내부 저장소 설치 과정 및 이미지 백업 / 롤백 과정에 대해 살펴보았습니다. waspro.tistory.com 사전 Dockerfile을 잘 작성하여 수행할 수 있으나, 사용 도중 부득이하게 변동이 이뤄날 경우 유지해야 하는 데이터가 있거나, 셋팅한 정보를 잃고 싶지 않거나 등등 도커 컨테이너 자체를 스냅샷 뜨고 싶을때 유용. 2023. 1. 10.
JDK 설치 및 경로 설정 https://gilu-world.tistory.com/34 Java 1.8 설치 및 환경변수 설정(JDK 1.8 - 8u341, 2022.09.19) 자바 환경변수 설정 안녕하세요. 이번 글에서는 자바를 사용하기 위해 가장 먼저 진행했어야 했던 JDK 환경변수를 설정하는 방법을 소개하도록 하겠습니다. 순서는 설치 그리고 환경변수 설정 gilu-world.tistory.com java -version Error : Upgrade Module SDK in project settings to 17 or higher https://crunchify.com/intellij-idea-project-module-and-latest-java-setup-java-17-or-newer/ IntelliJ IDEA Proj.. 2023. 1. 5.