dotcloud/docker — pull request #4444 by SvenDowideit (2014-03-04 07:04:55+00:00)
Title: update to use --name, and add a little more detail to how docker start -a works

thought it works a little awkwardly:

```
docker@boot2docker:~/.ssh$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS
NAMES
dd8b387114d6 ubuntu:12.04 /bin/sh -c while tru 3 seconds ago Up 3 seconds
moba
41d000f53e12 samba:latest bash 4 days ago Up 19 hours 0.0.0.0
:139->139/tcp, 0.0.0.0:445->445/tcp trusting_ritchie
docker@boot2docker:~/.ssh$ docker start -a moba
Error: start: Cannot start container moba: The container dd8b387114d62c71c8144e2701171e64e41d4d9f3666203e36d8d
5b3cf8a3cb0 is already running.
hello world
hello world
hello world
hello world
hello world
hello world
hello world
hello world
hello world
hello world
♥2014/03/03 21:35:06 Error: failed to start one or more containers
docker@boot2docker:~/.ssh$
docker@boot2docker:~/.ssh$
docker@boot2docker:~/.ssh$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS
NAMES
41d000f53e12 samba:latest bash 4 days ago Up 19 hours 0.0.0.0:13
9->139/tcp, 0.0.0.0:445->445/tcp trusting_ritchie
docker@boot2docker:~/.ssh$ docker start -a moba
moba
hello world
hello world
♥docker@boot2docker:~/.ssh$
```