i’m pretty new to docker and currently playing around.
I created a container with docker-compose.yml and “docker compose up”.
What if i forgot something in the yml file ? is there a chance to bring it to the container or do i have to recreate it from scratch ?
You have to recreate it, but that should a simple docker compose up and let compose to recreate everything that require recreating.
For those who read my previous similar answers:
Yes, if you have a deep understanding of Linux, containers and Docker there are some things that you could do without recreating but probably not without restarting and it is absolutely not recommended. Never install anything inside a running container and never store data on the filesystem of the container without volumes and you will be able to recreate the containers any time.