Resolving command by string from the container and using commands() method