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
