Pandemic Posted August 11, 2017 Share Posted August 11, 2017 I was messing with docker a few weeks ago and noticed a drive has 10gb used from docker.img. I couldn't figure out how to delete it so I logged in via SSH and went to the disk then "rm docker.img" it's gone now but the used space remains. Was it safe to do that? I'm starting to second guess myself. Quote Link to comment
Squid Posted August 11, 2017 Share Posted August 11, 2017 Settings docker. Disable the service. Advanced view. Delete the image file.You probably didn't disable the service so it just recreates itself. Sent from my LG-D852 using Tapatalk Quote Link to comment
Pandemic Posted August 11, 2017 Author Share Posted August 11, 2017 that's what it was, thanks! Quote Link to comment
ijuarez Posted August 11, 2017 Share Posted August 11, 2017 5 hours ago, Squid said: Settings docker. Disable the service. Advanced view. Delete the image file. You probably didn't disable the service so it just recreates itself. Sent from my LG-D852 using Tapatalk if this like a fail safe in case you get rm happy? Quote Link to comment
Squid Posted August 11, 2017 Share Posted August 11, 2017 No. If the service is enabled docker.img has to exist. If it doesn't (ie: brand new install, etc) then it creates it. In your case it probably happened after it rebooted. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.