일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- ssh command
- docker-compose
- RUBY
- 방화벽체크
- VIM
- 드라이버
- DevOps
- QT
- 패키지
- opsworks
- 우분투
- port
- docker
- Openswan
- 도커
- ubuntu
- 리눅스
- ssh
- window size
- Linux
- Chef
- docker registry
- driver
- golang
- docker container
- AWS
- 루비
- VPN
- sudo
- VMware
- Today
- Total
목록Log (1)
구리의 창고
Docker 로그 관리 - logrotate
소개docker를 신나게 사용하다보면 감당 할 수 없는 로그가 쌓이게된다. 기본적으로 STDOUT, STDERR는 전부 로그로 남기 때문에 하드디스크 용량부족 사태를 미연에 방지해야한다. docker container를 생성 할 때 logging driver를 지정 할 수 있는데 기본 값은 json-file이다.로그보기$ docker logs --help Usage: docker logs [OPTIONS] CONTAINER Fetch the logs of a container Options: --details Show extra details provided to logs -f, --follow Follow log output --help Print usage --since string Show logs..
DevOps
2017. 7. 19. 16:04