Skip to main content
18 events
when toggle format what by license comment
Jan 27, 2017 at 13:43 answer added phe timeline score: -1
Mar 14, 2016 at 16:56 answer added Travis Reeder timeline score: 0
Jul 27, 2015 at 10:37 comment added Arnaud Meuret What you are trying to do is simply customize an existing image (debian in your example), not creating one from scratch. So 1) Rephrase the title of your question. You seem to be just starting with Docker. So 2) you should really go through the Getting Started guides without fast-forwarding. If you need a solid Postgresql container, there is more to it than installing a package. So 3) use the official image as a base: registry.hub.docker.com/_/postgres
Feb 12, 2015 at 10:50 comment added slhck Yes, in principle that 's it. That's how Docker works :)
Feb 12, 2015 at 9:04 comment added SOP @slhck=> Correct me if i am wrong... I have to put an image of any Operating system and then I have to install the required environment.
Feb 12, 2015 at 9:03 history reopened slhck
Feb 12, 2015 at 9:03 history edited slhck CC BY-SA 3.0
added 305 characters in body; edited title
Feb 12, 2015 at 9:00 comment added slhck Create a Base Image maybe?
Feb 12, 2015 at 8:59 comment added SOP 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:: these are the steps to create image having PostGres... but I am unable to understand the "debian /bin/bash" why we are running this..."?
Feb 12, 2015 at 8:58 comment added SOP @slhck : I want to create my own Image which contains Java + Postgresql and I am not getting it from the document. I just want to create an Image to reuse it from anywhere.
Feb 12, 2015 at 8:56 review Reopen votes
Feb 12, 2015 at 9:06
Feb 12, 2015 at 8:52 comment added slhck There is a specific guide on creating our own images. And pushing to a hub is also explained. You need to tell us what specifically you don't understand or at which point you got stuck. Right now every answer would just point you to the documentation again.
Feb 12, 2015 at 8:38 history edited SOP CC BY-SA 3.0
deleted 152 characters in body
Feb 12, 2015 at 8:37 comment added SOP I have seen these docs but I am not clear about how to make my own image and push it into Repo?
Feb 12, 2015 at 8:17 history closed slhck Needs more focus
Feb 12, 2015 at 8:17 comment added slhck docs.docker.com/userguide/dockerrepos and docs.docker.com/userguide/dockerimages — you may want to be more specific about what you've tried and where you got stuck. This is all fairly well documented.
Feb 12, 2015 at 6:48 review First posts
Feb 12, 2015 at 8:18
Feb 12, 2015 at 6:44 history asked SOP CC BY-SA 3.0