본문 바로가기

구리의 창고

검색하기
구리의 창고
프로필사진 구리z

  • 카테고리 (128)
    • Programming (13)
    • DevOps (12)
    • Golang (3)
    • Python (1)
    • Ruby (9)
    • AWS (4)
    • Database (2)
    • Web (6)
    • Linux (21)
    • QT (25)
    • Window Driver (28)
    • etc.. (3)
Guestbook
«   2025/05   »
일 월 화 수 목 금 토
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
  • VIM
  • Linux
  • 루비
  • VPN
  • window size
  • docker registry
  • docker
  • port
  • Chef
  • sudo
  • DevOps
  • 리눅스
  • AWS
  • Openswan
  • VMware
  • docker container
  • docker-compose
  • 패키지
  • ssh
  • driver
  • 도커
  • 방화벽체크
  • golang
  • opsworks
  • ssh command
  • QT
  • RUBY
  • 드라이버
  • 우분투
  • ubuntu
more
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록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
Prev 1 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바