I have not been able to find a way to up/down just one container in a docker-compose.yml file. I can off-course start and stop a single container, but I cannot make changes to a containers configuration between restarts (environment variables, mount points etc.)
What am I missing here? What is the best practice in this case?
docker-compose build <service-name>
followed bydocker-compose up
. This would only build the changes to a single container instead of rebuilding all the containers