I am learning Docker and for a start I am setting up a Postgres-db with docker-compose. It is actually working but I can not find, where the persistent data is stored on Windows by default. This is my .yml.
#docker-compose.yml
version: "3.6"
services:
mytestdb:
image: postgres:10
restart: always
container_name: mytestdb
environment:
POSTGRES_PASSWORD: mytestdb
ports:
- 5433:5432
volumes:
- mytestdb_persistent_testdata:/var/lib/postgresql/data
volumes:
mytestdb_persistent_testdata:
I was checking C://ProgramData/DockerDesktop as well as C://user/me/.docker. Are they named differently.
I'd appreciate a hint.