Let $I = (2)$ inside $R = \Bbb Z[x]/(x^2)$. Then
$$
R/I\cong \Bbb Z[x]/(x^2, 2)\cong\Bbb F_2[x]/(x^2),
$$
which is not an integral domain ($x$ is a zero divisor). That is to say, $(2)$ is not prime in this ring.
In general, let $R$ be a ring, and $\mathfrak{p}\subseteq R$ a prime ideal. An ideal is prime if and only if $ab\in\mathfrak{p}$ implies that $a$ or $b$ is in $\mathfrak{p}$. If $\epsilon\in R$ is nilpotent, then for some $n$, $\epsilon^n = 0$. Because any ideal contains $0$, we have
$$
0 = \epsilon^n = \epsilon\cdot\epsilon^{n-1}\in\mathfrak{p},
$$
so either $\epsilon$ or $\epsilon^{n-1}$ is in $\mathfrak{p}$. Now it follows by induction that $\epsilon\in\mathfrak{p}$. If $(2)$ were prime in your ring, this would prove that $x\in (2)$ abstractly (even though it doesn't explicitly construct $p$ such that $x = 2p$).