Posted on Leave a comment

Visual Studio Docker Tools how to force a container rebuild from scratch – Stack Overflow

To refresh the PostgreSQL database environment variables, you need to remove the database container and its volume. When Visual Studio next runs the docker-compose project, it will recreate the database container and its associated volume with a new ‘install’ of PostGres and updated environment variables. You will lose your data, so backup first!

Source: Visual Studio Docker Tools how to force a container rebuild from scratch – Stack Overflow

Leave a Reply

Your email address will not be published. Required fields are marked *