분류 전체보기 107

docker OCI runtime create failed, exec: "source": executable file not found in $PATH: unknown. 오류

52c5136361900afebd36e8e8f463c681928917cae520f9ce6a40b09d8ee3c226 docker: Error response from daemon: OCI runtime create failed: container_linux.go:367: starting container process caused: exec: "source": executable file not found in $PATH: unknown. exec: "source": executable file not found in $PATH: unknown. 위 에러가 발생. docker run -it -d --name test container2 위와 같이 명령어 입력 후 발생한 에러 docker run -it -..

linux/docker 2024.03.18

docker 로 jeus7 구동하기

1. jeus7 이미지 pull 해오기 docker pull lkwdocker/jeus7 2. docker 실행 후 jeus7 이미지 실행 - docker run -it -d -P --expose=9736 --name jeus7 lkwdocker/jeus7 /bin/bash 3. docker ps 로 매핑된 포트번호 확인 4. 접속해보기 주소 : 도커아이피(로컬이라 localhost):49154/webadmin 포트번호는 랜덤이라 docker ps로 확인 후 접속해야한다. 계정은 administraror/jeusadmin 으로 로그인하면 된다.

linux/docker 2024.03.13

docker에 node.js + redis 프로젝트 올리기

필자는 참고로 node.js 써본적이 없음. node.js가 크롬엔진에서 떼온거다 정도만 아는 수준 node.js 프로젝트 초기 세팅할 때 cmd에 npm init 입력하면 프로젝트 파일 자동으로 생성해준다 docker로 실행시키는 node.js 앱 구조 - index.js ---> 제일 처음 실행하는 파일 - package.json --> maven이나 gradle처럼 종속성 관리하는 파일 - Dockerfile ---> 우리가 중점적으로 봐야하는 파일 - docker-compose.yml ---> 서로다른 도커 컴포넌트끼리 연결시켜주는 설정파일 (도커로 서버, 디비 다 올릴경우) - database : redis -> nosql 1. Dockerfile Dockerfile 은 기타 index.js 를..

linux/docker 2024.03.12

docker 명령어 정리

docker window 실행 후 로컬에서 작업 진행. 1. docker Image 가져오기 이미지는 직접 만들어도 되지만 도커 허브에서 왠만한건 다 다운받는다. https://hub.docker.com/ Docker Hub Container Image Library | App Containerization Increase your reach and adoption on Docker Hub With a Docker Verified Publisher subscription, you'll increase trust, boost discoverability, get exclusive data insights, and much more. hub.docker.com [사용법] docker pulll [경로] [예..

linux/docker 2024.02.29

centOS 7 VirtualBox에 설치하기

- 리눅스 공부를 위해 리눅스 환경을 만들어보자. 0. virtualBox 버츄얼 박스 설치 - 아래 링크로 접속후 다운로드 및 설치 https://www.virtualbox.org/ Oracle VM VirtualBox Welcome to VirtualBox.org! News Flash New October 17th, 2023VirtualBox 7.0.12 released! Oracle today released a 7.0 maintenance release which improves stability and fixes regressions. See the Changelog for details. New October 17th, 2023VirtualBox 6.1.48 r www.virtualbox.or..

linux 2024.01.11

Dependency Injection 의존성 주입

dependency Injection 은 스프링 공부하면서 자주 들었던 키워드이다. 정확한 개념을 알아두고 싶어 정리해본다. 의존성이란 A 클래스에서 B 클래스를 사용할 때 A클래스는 B클래스에 의존적이라고 할 수 있다. class A{ B b = new B(); } class b{ // } 의존성 주입 의존성이 있는 코드를 넣어준다는 의미로 A클래스에서 B클래스를 직접 생성하는 것이 아닌 B클래스를 외부에서 미리 생성하여 인스턴스를 사용하는 것을 의미. spring의 다른 특징, inversion of control(제어의 역전) 과도 연관이 있다. 제어의 역전 일반적으로 class A가 classB를 생성하여 사용하나 제어의 역전의 경우 중간의 매개체가 생겨 제어권을 일임하는 것. 이 매개체를 IoC..

WEB/Spring 2024.01.10

[ js ] kakao map api 지도 표출하기

지도 사용해야 할 때 자주 이용하는 카카오 맵 api. 무료여서 개발단계에서 사용하기 좋습니다. 1. kakao developers 가입 및 키발급 카카오 맵 api 를 사용하기 위해서는 먼저 APP KEY를 발급받아야합니다. 우선 내 애플리케이션 메뉴에 접속합니다. 애플리케이션 추가하기를 클릭합니다. 기타 정보들을 입력한 후 저장합니다. 저장 후에 목록에서 클릭하면 앱 설정 > 요약 정보에 JavaScript 키를 비롯하여 여러 키들이 생성됨을 확인할 수 있습니다. 우리는 JavaScript 키를 사용할 것입니다. 2. 카카오 맵 api 명세를 확인하여 지도 생성 Web 버튼을 클릭하여 API 명세를 살펴봅시다. 먼저 맵 div를 생성하고 api를 import해줍니다. appkey 의 경우에 발급받은 ..

WEB 2023.12.05