CONTAINERS-Docker

Gabriela Herrera 0 Reputation points
2023-04-26T21:43:51.37+00:00

Whta is memory InGb mean?

A image is located in a container registry of Azure, what is something would go to into that?

Azure Container Registry
Azure Container Registry
An Azure service that provides a registry of Docker and Open Container Initiative images.
508 questions
{count} votes

1 answer

Sort by: Most helpful
  1. shiva patpi 13,366 Reputation points Microsoft Employee Moderator
    2023-04-27T17:59:54.8933333+00:00

    @Gabriela Herrera

    Your question is not clear but trying to answer part of your query:

    Every Image will occupy some space in GB (Giga bytes) or MB (Mega bytes) depending upon the way it was built using the dockerfile (Image size depends on the docker instructions and what is the parent/baseOS images being used).

    Once you push the image to ACR, it will consume the same amount of space.

    What goes into the Image:

    For example if your dockerfile has got below instructions:

    FROM ubuntu:16.04

    RUN apt-get update && apt-get install -y python2 python-pip

    RUN pip install flask

    Once the Image is built it will have a Ubuntu OS with Python Installed along with PIP package followed by flask webserver. If you push the same image to ACR it will have the same packages installed with some amount of space occupied.

    Regards,

    Shiva

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.