When we run PPaaS build.sh it takes lots of disk space and sometimes
machine tends to go out of disk space. How we can resolve this?
Thanks & Regards
Danushka Fernando
Senior Software Engineer
WSO2 inc. http://wso2.com/
Mobile : +94716332729
___
Dev mail
Hi Danushka,
Are you having docker images with tag? You can remove those images
using the following command.
*docker rmi $(docker images | grep "^" | awk "{print $3}")*
If you have run docker containers in your machine, there can be containers
that are stopped but not removed. You can verify th
Hi Pubudu
Here is the response of the *docker images* command
REPOSITORY TAG IMAGE ID
CREATED VIRTUAL SIZE
wso2/as 5.2.1 8dcdb94efc8d12 hours
ago1.294 GB
wso2/base-image 4.1.0 a972772832d616 ho
Your command freed up around 20G+ thanks. But still 28G is used.
Thanks & Regards
Danushka Fernando
Senior Software Engineer
WSO2 inc. http://wso2.com/
Mobile : +94716332729
On Fri, Oct 2, 2015 at 11:04 AM, Danushka Fernando
wrote:
> Hi Pubudu
> Here is the response of the *docker images* comma
Hi Danushka,
I cannot think of any other solution for this. There are know issues in
docker[1] for this.
[1] - https://github.com/docker/docker/issues/10021
Thank you!
On Fri, Oct 2, 2015 at 11:05 AM, Danushka Fernando
wrote:
> Your command freed up around 20G+ thanks. But still 28G is used.
After exporting I deleted the image so it released 12GB. But it,s just 1G
image. And if we import it its only taking 1G
Thanks & Regards
Danushka Fernando
Senior Software Engineer
WSO2 inc. http://wso2.com/
Mobile : +94716332729
On Fri, Oct 2, 2015 at 12:08 PM, Pubudu Gunatilaka wrote:
> Hi Dan
+1 for what Pubudu has proposed.
This is a common problem that happens when working with Docker. It takes
considerable amount of disk space when large docker images are imported in
to the local docker registry, when there are dangling images [1] and when
there are stopped docker containers. Cleani