Replies: 2 comments
-
That's strange. Restarting doesn't delete files in the volume on the host. Is it possible there is script deleting the content of the folder n startup? |
Beta Was this translation helpful? Give feedback.
-
👀 That looks like you're probably using MinGW on Windows, perhaps via Git Bash? If you convert that to |
Beta Was this translation helpful? Give feedback.
-
Docker version 20.10.22, build 3a2c30b
windows 10
every time I ingest data it works and I'm able to use the data in pgcli, but once I restart the server its no longer there
winpty docker run -it \ -e POSTGRES_USER="root" \ -e POSTGRES_PASSWORD="root" \ -e POSTGRES_DB="ny_taxi" \ -v /c/Users/DELL/Desktop/data-engineering-zoomcamp/week_1_basics_n_setup/2_docker_sql/ny_taxi_postgres_data:/var/lib/postgresql/data/: \ -p 5432:5432 \ postgres:13
Beta Was this translation helpful? Give feedback.
All reactions