Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ make prune
- echo y | docker builder prune
- WARNING! This will remove all dangling build cache. Are you sure you want to continue? [y/N] Deleted build cache objects:
- yevcn99uzpzobqpwb9c2kytlf
- ml49k9v03se6h1kfglxlngb2p
- ujqp8c63zdktird1nupw14ycz
- Total reclaimed space: 466B
- echo y | docker system prune -a
- WARNING! This will remove:
- - all stopped containers
- - all networks not used by at least one container
- - all images without at least one container associated to them
- - all build cache
- Are you sure you want to continue? [y/N] Deleted Images:
- untagged: my-local-image:latest
- deleted: sha256:6ad4834bacba99614b982621f01eb8cdc223698ece0f1085fdd1a717d5483d10
- Deleted build cache objects:
- nwba07q3vqrgditoguqtn2cyd
- 3vwuy4powdcftmuh8y1aysdsz
- ksafo5di7f0u6iyeepd9tm4qo
- sha256:352254462a2e1a7559a7f8f21c221289dcf906671aa26ef91010972e55518ed6
- sha256:3182844e2045e398110f08271320370c1ec3f02bfe25394a82c00f3d14ae6837
- sha256:1eba362754285a34ffed3c6e5a5f4f98214669be05b47f34100e37b35e523431
- sha256:dfab44e6bae0c3d7c34d1c677f5cc91b77cbc9e057c409b7bec88a65eb7aa3af
- sha256:f1b5933fe4b5f49bbe8258745cf396afe07e625bdab3168e364daf7c956b6b81
- Total reclaimed space: 80.93MB
- ------------------------------------------------------------------------
- $ make build
- docker buildx build -t my-local-image -f Dockerfile --cache-from=type=registry,ref=registry.my.dev/m.kindritskiy/docker-cache:latest --load .
- [+] Building 22.9s (11/11) FINISHED
- => importing cache manifest from registry.my.dev/m.kindritskiy/docker-cache:latest 0.3s
- => [internal] load .dockerignore 0.1s
- => => transferring context: 2B 0.0s
- => [internal] load build definition from Dockerfile 0.1s
- => => transferring dockerfile: 127B 0.0s
- => [internal] load metadata for docker.io/library/node:12-alpine 0.8s
- => [1/5] FROM docker.io/library/node:12-alpine@sha256:50ce309a948aaad30ee876fb07ccf35b62833b27de4d3a818295982efb04ce6b 0.0s
- => [internal] load build context 0.0s
- => => transferring context: 462B 0.0s
- => CACHED [2/5] WORKDIR /app 17.4s
- => => pulling sha256:e7c96db7181be991f19a9fb6975cdbbd73c65f4a2681348e63a141a2192a5f10 15.4s
- => => pulling sha256:fd38342e03373b2ef6a3c7f354adf8d165454628b1de8c8329e70b3ef6325710 12.4s
- => => pulling sha256:7b373bfb6ac5ffc0602bd1033666f9138fc137d68f67c4d4726cd6ac0c6bc9ac 14.7s
- => => pulling sha256:5269cc77d334b68485968973d8e40df41f5d712a0cc66580bf9d925e5da6b923 0.1s
- => => pulling sha256:06fe58f073cda3378a26c70b65edcd0b726eb7b4ade9a329a36af315c8473f99 0.1s
- => [3/5] COPY package.json . 1.2s
- => [4/5] COPY requirements.txt . 0.2s
- => [5/5] RUN npm i 3.0s
- => exporting to image 0.1s
- => => exporting layers 0.1s
- => => writing image sha256:c1587b7454dcfba6b11d38c22a3694eee9386f993e57dc164ed6b3442adb459f 0.0s
- => => naming to docker.io/library/my-local-image
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement