Pandemic

docker.img removal question

5 posts in this topic

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.

0

Share this post


Link to post
Share on other sites

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

0

Share this post


Link to post
Share on other sites
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?

0

Share this post


Link to post
Share on other sites

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.

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

Copyright © 2005-2017 Lime Technology, Inc. unRAID® is a registered trademark of Lime Technology, Inc.