From the course: Creating Spring Boot Microservices
Unlock the full course today
Join today to access over 24,400 courses taught by industry experts.
Cleaning up the workspace - Spring Boot Tutorial
From the course: Creating Spring Boot Microservices
Cleaning up the workspace
- [Instructor] I wanted to add one final note of how to tear down everything that we have built up. So right now we have Docker Compose running. We want to tear everything down and clean up our code spaces. So the first thing we do is in this window, I'm hitting Control + C, which will stop the docker containers. You could see the docker containers are stopping. And then I want to remove the images. I can actually, are you sure you want to stop the containers? Yes. And remove them. So this will remove them. And now I want to remove the images. Yes. I want to remove the images. So all the images are removed. And then I want to have the volumes removed as well. And since the images are removed, I could do docker volume prune. Yes, I'm sure. And one last thing is that a folder is called data. And this is where the persistent information would be stored for our Mongo and MySQL databases between runs. However, if I would try to remove that folder, I do not have permission. It does not let…