---
title: "Comment by nexovec on \"How to Use a .dockerignore File: A Comprehensive Guide with Examples\" | Hashnode"
description: "Hi, just dropping by to say that it's always a useful practice to actually spin up the container and poke around for stuff that's not supposed to be there using"
url: "https://hashnode.com/posts/how-to-use-a-dockerignore-file-a-comprehensive-guide-with-examples/646f2db9a69a147ff762ddc6/comment/669432e87d6262e0fb2b0079"
---

[Discussion](https://hashnode.com/posts/how-to-use-a-dockerignore-file-a-comprehensive-guide-with-examples/646f2db9a69a147ff762ddc6)

Comment [How to Use a .dockerignore File: A Comprehensive Guide with Examples](https://hashnode.com/posts/how-to-use-a-dockerignore-file-a-comprehensive-guide-with-examples/646f2db9a69a147ff762ddc6)

[nexovec](https://hashnode.com/@nexovec)

[Jul 14, 2024](https://hashnode.com/posts/how-to-use-a-dockerignore-file-a-comprehensive-guide-with-examples/646f2db9a69a147ff762ddc6/comment/669432e87d6262e0fb2b0079)

Hi, just dropping by to say that it's always a useful practice to actually spin up the container and poke around for stuff that's not supposed to be there using `docker exec`.
