Changed grep to look for strings not containing "Up" to cover a case where a stopped container reports no state.
Fixed grep expression to correctly grep the stopped containers when using -a option.
New script to easily attach to a running container using nsenter.