Skip to content

Docker image size #4

Open
Open

Description

@mksenzov

Page https://efficientqa.github.io/submit.html claims that to check image size you will use

docker run "${MODEL}" du -h

Questions:

  1. This implies that anything outside of the workdir is not measured, so if my workdir is /app and I put data in / - that is not counted. Did you intend to say docker run "${MODEL}" du -h / instead?

  2. why not just use docker images output (SIZE column)?

Any clarification would be appreciated.

Activity

  1. mksenzov commented on Oct 8, 2020

    @mksenzov
    Author

    or should we perhaps, consider the size of the image as it is stored in Google Container Registry - it appears like GCR further compresses those and my local 6Gb image is shown 4.49 GB which indicate that I still might have a ton of space available.

  2. tomkwiat commented on Oct 26, 2020

    @tomkwiat
    Contributor

    Hi Mikhail, we are using du -h / to get everything, yes. Sorry that wasn't clear, the instructions have been updated.

  3. djshowtime commented on Nov 9, 2020

    @djshowtime

    Hi Mikhail, we are using du -h / to get everything, yes. Sorry that wasn't clear, the instructions have been updated.

    Does it mean that even the size of the system environment package also counted?

  4. soheeyang commented on Nov 9, 2020

    @soheeyang

    Hi @djshowtime , I'm just a participant in the challenge, but yes, everything in the docker container including the system environment package seems to be counted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions