rimelek
(Ákos Takács)
July 9, 2022, 9:39pm
2
Don’t expect it. Remove a container and its volumes
Or use the Docker compose commands I suggested in the other topic:
I would not use Docker Compose to name the image as if it were an image pulled from a repository. You can, it is your choice, but I don’t think it helps much. You can just let Docker Compose to generate the image name which contains the name of the project and the service it was built for. It is the same with the container name. You set the name to “container-php-eb” Using “container” in the name seems redundant. Of course it is a container. If it is the project name for some reason that the aut…
What do you mean by files on the OS? When you delete a volume, it will delete the files since it is just deleting a folder on the host when it is a local volume.
1 Like