I want to putcreate a dockerDocker image inside docker Repo orwhich contains Java and PostgreSQL. I just want to create an image on local machine Image to reuse it from anywhere. but
From reading the documentation I am unable todon't understand what I should put in the Image and how to create itI can do that.
This is what I tried:
user@host:/$ docker run -i -t debian /bin/bash
root@container:/$ apt-get install postgresql-9.3
user@host:/$ docker ps
user@host:/$ docker commit <CID> username/postgresql