Jérôme Petazzoni

TL,DR: The following command will allocate a random port on your machine, and map it to port 1234 inside a container: docker run -p 1234 base — nc -l 1234 Use docker inspect (and look under NetworkSettings) to see which random port was allocated. Good news, everyone! Networking support has been merged. This means that your containers can now talk to the outside world (duh!), and the outside world can talk to them as well.

Continue reading...
Solomon Hykes

Hi all, Docker now has an IRC chan: #docker on freenode. Feel free to join.

Continue reading...
Solomon Hykes

Hi all, Here’s a video going over the Postgres install we did with Ted at the last meetup. https://dl.dropbox.com/u/2768314/docker%20demo%201%20postgres.mov A quick overview of what happens there: 1. Upload a base ubuntu quantal image 2. Run a container from the base image, generate locales, commit the changes to the image 3. Run a new container from the upgraded base image, install postgres, commit a new ‘pg’ image 4. Run a pg container, tweak the configuration, commit. 5. Run a new container, create a dummy database and table, commit. 6. One more throw-away container, run the init script to figure out the full…

Continue reading...