-
podman build 시 too many open files 대응TIPS 2025. 5. 9. 22:12
podman 을 통한 image build 시, 경우에 따라 `too many open files` 에러가 발생할 수 있다. 직접 빌드를 수행하는 경우`podman build` 명령을 통해 직접 빌드를 실행하는 경우, `--ulimit` 설정을 통해 해결할 수 있다. podman build --ulimit=nofile=1048576:1048576 간접적으로 빌드를 수행하는 경우 (ex. docker(podman) compose 를 통한 build)docker-compose 를 통한 빌드를 수행하게 되는 경우에는 --ulimit 설정을 직접적으로 설정하기 어려운 경우가 있다. docker-compose.yml 에서 `service.build.ulimits` 필드의 설정으로 ulimit 을 설정할 수 ..