1

I'm trying to remove docker from my Ubuntu 16.04. When coming to the step to remove all of the container files:

sudo rm -rf /var/lib/docker/containers

Seems like it is stuck here forever, means that there must be some process that holding this folder, is there any way to resolve this?

3
  • #lsof /var/lib/docker/containers gives what? find the pid of process which accessing the directory. Jan 15, 2020 at 5:12
  • unfortunately, it gives nothing :(
    – xtiger
    Jan 15, 2020 at 6:32
  • Is there any error message shown? Jan 15, 2020 at 6:39

1 Answer 1

1

Maybe check first if any container running with docker ps -a, then do a docker system prune -a

1

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .