Comments (2)
Hi @AkihiroSuda ,
I take a look to fix this bug.
The idea is to calculate the sum of snapshots size corresponding to the each image.
I took the image ghcr.io/stargz-containers/golang:1.15.3-buster-esgz
as example.
snapshotter tree for ghcr.io/stargz-containers/golang:1.15.3-buster-esgz
sha256:807a937cec3d3bef7dab91841bc93cd43911c9e61d3a9b68be6afd6acd1b45f8
\_ sha256:d08af225de79d044daf29b516dfb371ddb77e33b6a7fb07761816e456395491f
\_ sha256:546ae4f9b99882e15dcccde39406b0893c9d906052d424a38ee1529858ad99c1
\_ sha256:a9d4a1d0e99c11d05ddeca7b21ea8e96781cc91a4489dcc028c0c65e97310fcf
\_ sha256:2806e6decb8e52eaadbd48e8e5176474b8f39ce9a92ef0b3ce78655c2b3b07af
\_ sha256:7c4f4c436344ad8950f290525c9dffdde5dcc43f02cc8b87251f94aee138a389
\_ sha256:0ff02ab503d2007f3d550bb1039be75ca2f2afa6f9db6ccfcf7b40257fe44c57
When I make the sum of each above layer size I got a number different than what docker show.
can you guide me in solving this bug please ?
thanks
from nerdctl.
implemented in #205 , thanks @fahedouch
from nerdctl.
Related Issues (20)
- Tests should not use Setenv as it prevents parallelization
- `networks` related code is racy
- Unable to filter containers using "nerdctl ps -a" on Windows HOT 1
- `test-integration-docker-compatibility` began to fail on June 14 (Docker was upgraded from v24 to v26) HOT 3
- Support "RegistryToken" auth
- network appears to not be immediately available after a call to `network create` HOT 1
- oci hook does not restore logger output after closing file, resulting in spurious error and lost messages
- `networks` do not appear to support --namespace HOT 2
- unsupport configs filed HOT 3
- nerdctl / docker behavior divergence on `--net bridge --ip-address` HOT 2
- Some tests seem to run multiple times the command they are testing because of the way AssertOutContains is used
- `nerdctl start` does not support interactive
- Support --attach in run
- `name/identifier` grammar is different for docker and nerdctl HOT 2
- Volume code may be racy HOT 1
- docker vs. nerdctl: volume behavior differences
- Cobra bug?
- testutil helpers are hard to use and make too many assumptions on command outcomes
- `usedVolumes` (called in volume remove and prune) can be raced by container creation, and other sources of racyness in volumes
- `nerdctl system prune -a` removes volumes in use too HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nerdctl.