I have noticed one thing which is quite odd. It seems docker or docker-compose (I'm not sure which) stores cached information about the folder where docker-compose is being run. I've tried deleting all containers but as long as I try to initialize from a folder which I've used before, though I've cleared everything, docker remembers the old configs. Renaming the folder to something else, results in a fresh setup. Does docker cache data about container setups? Is there any way to clear all caches, if it does store them?
docker system prune ?
What do you mean by remembering the old configs? Do the container names remain the same? And how do you destroy the setup - docker-compose down ?
Обсуждают сегодня