Ravi
Ravi

Reputation: 71

Externalization of postgreSQL database from windows comtainer

I have an APP running inside container on windows 2016 platform . The app uses the postgreSQL database .we want to persist the database when container destroy and another container up again . So we want to persist the database record . I see the postgress container for Linux platform but not for windows container .We are using window server core image as base . Can someone suggest how can we persist database info.

Thanks Ravi

Upvotes: 0

Views: 33

Answers (1)

Neel Kamath
Neel Kamath

Reputation: 1266

The program will run in the Windows container. The DB will run in a Linux container. Since they're in different containers, the OS needn't be the same. You'll simply be connecting to the DB over a URL in a network.

Upvotes: 0

Related Questions