디스크 제한으로 인해 Cloud Foundry 애플리케이션 푸시가 실패함

디스크 제한으로 인해 Cloud Foundry 애플리케이션 푸시가 실패함

주문하다:

cf push cf-mongo-client --docker-image mongoclient/mongoclient

실수:

ll_id"=>"2470c00a-181c-4965-bb2d-0ba3ad5c34aa", "reason"=>"CRASHED", "exit_description"=>"failed to create container: running image plugin create: pulling the image: streaming blob `sha256:02200c4c842ea1c4b5c37a93b99ef2aff243d4ae116863aa562b4999f22df299`: writing blob to tempfile: uncompressed layer size exceeds quota\n: exit status 1", "crash_count"=>2, "crash_timestamp"=>1588547728558173147, "version"=>"55e0c7df-114d-4f4f-8252-d3c251c8f262"}
2020-05-04T00:15:28.60+0100 [CELL/0] OUT Cell 2470c00a-181c-4965-bb2d-0ba3ad5c34aa creating container for instance 37fbf199-092f-4a22-6b6f-5a0d
2020-05-04T00:15:50.29+0100 [CELL/0] ERR Cell 2470c00a-181c-4965-bb2d-0ba3ad5c34aa failed to create container for instance 37fbf199-092f-4a22-6b6f-5a0d: running image plugin create: making image: creating image: applying disk limits: disk limit is smaller than volume size
2020-05-04T00:15:50.29+0100 [CELL/0] ERR : exit status 1

답변1

좋은 팁, 고마워요 Giles.

이유: Cloud Foundry는 기본적으로 컨테이너 디스크 크기를 1GB로 제한합니다. 다음 명령을 사용하여 늘릴 수 있습니다.

cf push cf-mongo-client --docker-image mongoclient/mongoclient -k 2G

인용하다:http://cli.cloudfoundry.org/en-US/cf/push.html

관련 정보