I have created a docker-compose.yml in which I try to specify an older version of postgres.
The first few lines of the yaml file are:
When I build the ‘db’ container I see the following:
docker-compose build --no-cache db
Step 1/7 : FROM postgres:12.0
It is getting postgres version 12 rather than 9.6 as I specified.
What am I doing wrong?