Image container at DockerHub temrdm/1c_postgres
FROM temrdm/1c_postgres:9.2-1C
Building postgres 9.2.4-1.1 1C version
Download from users.v8.1c.ru postgres deb package and extract it to ./9.2-1С/dist
path.
Building container
docker build -t db ./9.2-1С
Create data volume container
docker create -v /var/lib/postgresql/data --name dbdata db /bin/true
docker run -d -p 5432:5432 --volumes-from dbdata --name db --restart=always db
docker run -i --volumes-from dbdata -t db /bin/bash