add login check before pull user's repo
Install curl; nix stray backslash; use proper IP address
add -host and -port
improved doc and usage
Merge remote-tracking branch 'upstream/master'

Conflicts:
	docs/sources/examples/python_web_app.rst
Use 127.0.0.1 instead of `hostname` in the "access the web app" section.
jsonstream WIP
switch to default 127.0.0.1, and mixed the two flags in one. -h
added warning
bring Error: Command not found: <command>
Usage: docker COMMAND [arg...]

A self-sufficient runtime for linux containers.

Commands:
    attach    Attach to a running container
    insert    Insert a file in an image
    login     Register or Login to the docker registry server
    export    Stream the contents of a container as a tar archive
    diff      Inspect changes on a container's filesystem
    logs      Fetch the logs of a container
    pull      Pull an image or a repository from the docker registry server
    restart   Restart a running container
    build     Build a container from Dockerfile or via stdin
    history   Show the history of an image
    kill      Kill a running container
    rmi       Remove an image
    start     Start a stopped container
    tag       Tag an image into a repository
    commit    Create a new image from a container's changes
    import    Create a new filesystem image from the contents of a tarball
    ps        List containers
    rm        Remove a container
    run       Run a command in a new container
    wait      Block until a container stops, then print its exit code
    images    List images
    port      Lookup the public-facing port which is NAT-ed to PRIVATE_PORT
    info      Display system-wide information
    inspect   Return low-level information on a container
    push      Push an image or a repository to the docker registry server
    search    Search for an image in the docker index
    stop      Stop a running container
    version   Show the docker version information back
utils.go: Fix merge logic for user and hostname.

Fall back to image-specified hostname if user doesn't
provide one, instead of only using image-specified
hostname if the user *does* try to set one.
(ditto for username)

Closes #694.
Merge pull request #695 from dtzWill/694-fix-merge-config

- Runtime: utils.go: Fix merge logic for user and hostname.
Add resize endpoint to api
bump to master
change %f to %g
removed useless params
fix docker login when same username
Merge pull request #699 from dotcloud/docker_login-fix

fix docker login when same username
Avoid hardcoding kernel 3.8 version, allow Ubuntu updates to work
Merge pull request #701 from kim0/patch-1

- Documentation: Updated ubuntu install docs to avoid hardcoding kernel 3.8 version, and allow Ubuntu updates to work