Closed seivan closed 3 years ago
I was wondering if it's feasible to add named params, so they can be reused. An example is
docker run --rm -p 5432:5432 -v ~/Projects/DockerVolumes/postgresql/<param=12.4>/data:/var/lib/postgresql/data -e POSTGRES_PASSWORD=password postgres:<param=12.4>"
This would ask for the param twice, when it should be the same.
Doh, noticed that they are indeed named! Sorry to bother.
I was wondering if it's feasible to add named params, so they can be reused. An example is
docker run --rm -p 5432:5432 -v ~/Projects/DockerVolumes/postgresql/<param=12.4>/data:/var/lib/postgresql/data -e POSTGRES_PASSWORD=password postgres:<param=12.4>"
This would ask for the param twice, when it should be the same.