Dungeon— i.e.. by synecdoche, the prison in general; not the place in prisons peculiarly so called; for Joseph, who was so much employed in the prison, cannot be supposed to have been confined in one place, much less in the dungeon.
Related Commentaries of Genesis 40:15
Genesis 40:15
15 For indeed I was stolen away out of the land of the Hebrews: and here also have I done nothing that they should put me into the dungeon.