Responsive Ad Area

Share This Post

test

Create a docker image from a running container

I want to create a docker image with few customization .I have an existing image of 16GB and i have launched its has a container . Now i have deleted all the unnecessary files from the container and committed as a new image . But still the new image showing as 16GB only . Actually the new image will have only ~1GB of size.

Please help me how i can create a new small size image from a running container
.
Steps followed

1) launched a container from the 16GB image
2) deleted unwanted files from the container
3) committed new image from the container 

Thanks
sarath


Create a docker image from a running container
Create a docker image from a running container
test
{$excerpt:n}

Share This Post

Leave a Reply

Your email address will not be Publishedd. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Skip to toolbar