본문 바로가기 메뉴 바로가기

ithappens

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

ithappens

검색하기 폼
  • This is all I can show you (67)
    • certificate (11)
      • ccna (1)
      • ccnp (4)
      • cka (6)
    • self training (41)
      • nw (10)
      • win (3)
      • lin (23)
      • fw (0)
      • sql (3)
      • CI,CD (1)
      • notion (1)
    • referance (2)
    • just notepad (11)
  • 방명록

도커(Docker)와 쿠버네티스(Kubernetes)를 활용한 컨테이너(Container)관리_정리3 (dockerfile, docker-compose, kubernetes)

docker rmi $(docker images | egrep -wv 'nginx|httpd|mysql|redis|alpine|ubuntu|centos' | awk '{print $3}')(도커 특정 이미지를 제외 한 이미지 삭제) 이미지 용량 최대한 적게 만들기 (관리 가능하도록, 용량이 0인 scratch 는 관리 불가)vi dockerfileFROM ubuntu:22.04 RUN apt-get update RUN apt-get install -y gcc COPY src/hello.c /tmp WORKDIR /tmp RUN gcc -o hello-world hello.c CMD ["/tmp/hello-world"] vi hello.c#include int main() { printf..

certificate/cka 2025. 4. 26. 18:21
이전 1 다음
이전 다음
TAG
  • Kubernetes
  • cisco
  • FNAT
  • 네트워크
  • chap
  • VLAN
  • CentOS7
  • 로드벨런서
  • Linux
  • CentOS
more
Total
Today
Yesterday

Blog is powered by Tistory / Designed by Tistory

티스토리툴바