Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- 스카우터
- TypeScript
- log
- npm
- nvm
- github
- Vue-CLI
- git
- docker
- 트러블슈팅
- node버전
- 패턴
- credential
- VUE
- annotation
- TroubleShooting
- Containers
- Shooting
- subtree
- Trouble
- Scouter
- MVVM
- jpa
- 어노테이션
- APM
- PODS
- node
- k8s
- stern
Archives
- Today
- Total
JSheep`s Album
docker 설치 및 dbbase 본문
brew search
brew install --cask docker
docker run --name PostgreSQL -e POSTGRES_USER=jsheep -e POSTGRES_PASSWORD=postgres -d -p 5432:5432 postgres
--name 은 이름 설정 입니다. 옆에 postgreSQL 이라고 입력한건 docker에 등록 할 이름
POSTGRE_USER= 에 있는 jsheep 은 아이디, PASSWORD= postgres
-e 는 컨테이너에서 사용할 환경 변수를 설정하는 명령어 입니다.
-d 는 백그라운드 모드 (detached mode)
-p 는 호스트와 컨테이너의 포트 연결
Comments