개발 기록
211115 도커 본문
**도커란?!
-애플리케이션을 개발 및 실행하기 위한 개방형 플랫폼. 도커를 사용하면 애플리케이션을 인프라에서 분리할 수 있으므로 소프트웨어를 빠르게 제공할 수 있다. (컨테이너 기반의 오픈소스 가상화 플랫폼)
도커는 컨테이너라고 하는 느슨하게 격리된 환경에서 애플리케이션을 패키징하고 실행할 수 있는 기능 제공. 이미지의 실행 가능한 인스턴스
다양한 프로그램, 실행환경을 컨테이너로 추상화하고 동일한 인터페이스를 제공하여 프로그램의 배포 및 관리를 단순하게 해준다.
이미지는 컨테이너 실행에 필요한 파일과 설정값 등을 포함하고 있는것 . 도커 컨테이너를 만들기위한 지침 읽기 전용 템플릿.
**도커 실습하다 생긴 오류들
(웃긴게 몇 시간 후에 삭제 하고 첨부터 다시 해보니까 에러 하나도 안 되고 잘 됨 뭘까)
https://pythontoomuchinformation.tistory.com/404
https://7942yongdae.tistory.com/128
http://www.herlitz.nu/2020/12/01/docker-error-ports-are-not-available-on-windows-10/
**-plain.jar 안 생기게 하기
build.gradle
jar {
enabled = false
}
빌드시 gradle build -x test 입력해도 동일 이유는 모름..
**
argument와 parameter
Parameter | 매개변수 | 함수와 메서드 입력 변수(Variable) 명 |
Argument | 전달인자, 인자 | 함수와 메서드의 입력 값(Value) |
다음 cancat 함수 정의에서 str1과 str2는 parameter 입니다.
def cancat(str1, str2):
return a +" "+ b
cancat 함수를 호출할 때, 입력값 “parameter”와 “argument”는 argument입니다.
cancat("parameter", "argument")
출처
'TIL' 카테고리의 다른 글
211118 타임어택(1001) 스프링으로 바꾸기 (0) | 2021.11.18 |
---|---|
211117 스프링 구현테스트 복습 (0) | 2021.11.17 |
211114 WIL (0) | 2021.11.15 |
211111 TIL 스프링 (0) | 2021.11.12 |
211110 스프링 (IOC,DI) (0) | 2021.11.10 |