DEV Community

loading...

Discussion on: Cleaning Up Space after Docker

Collapse
c_v_ya profile image
Constantine Author

You need to recreate them, not restart. Meaning, remove existing one, and create a new one. Don't loose your data tho.. if those containers don't have a persistent volume

Collapse
5hay profile image
Shayan

Sorry, I was just tired when I wrote that comment. I meant recreated.

Thread Thread
c_v_ya profile image
Constantine Author

Well.. if you use Portainer, you could try to "duplicate/edit" on the container page, make sure that logging driver is set to json (or whatever you've set up in your daemon) and deploy. Or try to completely delete and create the container from cli. Not sure what's going wrong there, but it works for me. Maybe logging policy is not setting up, or.. no idea honestly