Unable to docker commit

Asked 2 years ago, Updated 2 years ago, 51 views

CentOS 7 uses docker.

I ran docker commit, but the following error occurred and I cannot print it to the image.

$docker commit testsys testsys
Error response from daemon: devmapper: Thin Pool has 145060 free data blocks which is less than minimum required 163840 free data blocks. Create more free space in used dm.min_free_space option to change behavior

For overseas sites
rm-rf/var/lib/docker
I found an article telling me to do and re-insert docker.

I don't want to erase this container because I have various settings in the current container.
If you know how to make images, please let me know.

docker

2022-09-30 21:24

1 Answers

Why don't you delete unnecessary data?
Depending on the version of docker you are using,
The latest docker is

 docker system prune

By executing the command, it will delete the containers and images that have been stopped.

https://docs.docker.com/engine/reference/commandline/system_prune/


2022-09-30 21:24

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.