Which is the metaphor?
The raging sea is like a hungry dog.
The sea is rough and dangerous.
The sea is a hungry dog.
The sea is as dangerous as a hungry dog.
2 answers
The metaphor in this case is "The sea is a hungry dog."
Life is like a simile.