# Docker Plugin giving an error

**URL:** <https://discuss.hashicorp.com/t/docker-plugin-giving-an-error/49535>\
**Category:** Packer\
**Created:** [January 31, 2023, 2:09pm UTC](https://discuss.hashicorp.com/t/docker-plugin-giving-an-error/49535 "2023-01-31T14:09:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnowens](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/johnowens/32/24702_2.png) [@johnowens](https://discuss.hashicorp.com/u/johnowens)\
**Post date:** [January 31, 2023, 2:09pm UTC](https://discuss.hashicorp.com/t/docker-plugin-giving-an-error/49535/1 "2023-01-31T14:09:56Z")

</div>

When building an image that uses the docker plugin I’m seeing this error in my event logs and don’t understand how to resolve it.

docker (docker-push): Error: Cannot perform an interactive login from a non TTY device

Where can I start troubleshooting this?

---

<div class="post-metadata">

**Author:** ![safenetwork-CMTY](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/safenetwork-cmty/32/16286_2.png) [@safenetwork-CMTY](https://discuss.hashicorp.com/u/safenetwork-CMTY)\
**Post date:** [January 31, 2023, 5:28pm UTC](https://discuss.hashicorp.com/t/docker-plugin-giving-an-error/49535/2 "2023-01-31T17:28:25Z")

</div>

You can start troubleshooting this by telling us what you’re trying to do.

What’s your setup?  
What does your build file looks like?  
What does your script look like?  
When are you getting this error?
