directory - Docker recreates directories on host after reboot -


i created containers on system (ubuntu 14.04) using docker-compose mounted directories host containers. now, every time reboot host, these directories recreated, though containers not longer exist (and therefore deleted directory).

example: had container gitlab-ci in

/var/docker/gitlab-ci/ 

containing files/directories

docker-compose.yml data/ postegresql/ 

i have deleted directory

gitlab-ci/ 

now,

gitlab-ci/data gitlab-ci/postgresql 

are created after every reboot. how rid of them?

those containers might still exists. docker ps -a command shows?

if can still see gitlab related containers, remove them docker rm -f <container name>, delete directories , reboot check if appear again.

if still have docker-compose.yml file, have removed containers with:

docker-compose stop docker-compose rm 

Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -