There are some known problems in Docker for Mac where disk usage never
decreases that you might be running into:
https://github.com/docker/for-mac/issues/371
On Mon, Oct 30, 2017 at 4:06 PM, Graham Dumpleton
wrote:
> If you don't mind having everything trashed, and aren't
Hi,
I have executed the commands 'docker exec -it origin bash' and then the 'oc
login' command in order to login with the user developer, which also has
the cluster-admin role. Then, I have executed the commands 'oadm prune
images --confirm', 'oadm prune builds --confirm' and 'oadm prune
To run `oc adm prune` (formerly `oadm prune`) you need a real user (not an
service account, like `system:admin`) with `cluster-admin` or
`system:image-pruner` permission [0].
[0]
https://docs.openshift.com/container-platform/3.6/admin_guide/pruning_resources.html#pruning-images
I have checked the memory in the PATH /mnt/var/lib/origin path and it says
I'm using almost 10GBs there although I have deleted the images with the
''docker rmi [imageid]' and using 'oc cluster down' commands. I think
that's the problem...
Is it ok to just manually delete the origin folder in the
A question for OP. Are you using options to oc cluster up to persist data when
shutting it down?
> On 27 Oct 2017, at 10:58 pm, Mauricio Améndola
> wrote:
>
> Hello,
> The correct way to remove old images is using “oadm prune….”[1] command. I
> remember that there
Hello,
The correct way to remove old images is using “oadm prune….”[1] command. I
remember that there are two folders that increase a lot due to tmp files.
- /var/lib/origin
- /var/lib/docker
Try oadm prune and give some feedback
Regards,
[1]
What platform are you on?
If you are on MacOS X or Windows try the following.
Run:
docker run --rm -it -v /:/mnt busybox /bin/sh
This will give you an interactive shell in busybox, but where /mnt has the
Docker VM file system mounted.
Then go to:
/mnt/var/lib/origin
and see how much
I have checked the volumes already using the docker command docker volume ls.
However, everything seems pretty normal there.
Furthermore, I have checked my images with docker images ls. I have found a lot
of old images created by OpenShift, which used a lot of GBs on my Hard Disk.
That‘s why I
See if you have a lot of docker volumes that haven't been cleaned up properly.
docker volume ls
Maybe that is hanging onto space.
Graham
> On 27 Oct 2017, at 8:37 am, Tien Hung Nguyen wrote:
>
> Hi everybody,
>
> I have a problem with my hard drive space. Since