Following this example
- docker run -i –rm postgres cat /usr/share/postgresql/postgresql.conf.sample > my-postgres.conf
I would expect a created file ‘my-postgres.conf’ on my host machine which is a copy of the file: ‘/usr/share/postgresql/postgresql.conf.sample’ which comes from postgres.
When I run this in windows I get:
cat: ‘C:/Program Files/Git/usr/share/postgresql/postgresql.conf.sample’: No such file or directory
Can anyone help explain how to do the above?
New contributor
steve stack is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.