Reputation
Top tag
Next privilege 125 Rep.
Vote down
Badges
7
Newest
 Excavator
Impact
~3k people reached

Jul
27
comment How to correctly configure iptables on a laptop?
@user779159 Your ruleset is incomplete until the docker daemon has been launched. Make sure it is running before looking at the iptables run-time rules. Either launch docker directly or launch a container.
Jul
27
comment What is the best way to limit the IP addresses which can be access from within a docker container?
This is an unusual requirement. I have seen a solution that could be adapted to your case without breaking Docker's link facility. Could you tell us more about your application and why it requires a white list for out-boud connections?
Jul
27
comment How to create a Docker image from scratch?
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