fixed container ip parsing, inspect returns an array in newer versions