Started tidying parsing of docker data
Don't use string manipulation to find container state