---
title: "Discussion on \"\"localhost\" Means Two Different Things, and Docker Compose Doesn't Warn You\" | Hashnode"
description: "Discussion on \"\"localhost\" Means Two Different Things, and Docker Compose Doesn't Warn You\". Containerized the CVE ingestion service today. Ran perfectly on the VPS directly, the way it had for weeks. Put it in Docker, ran it again, and it broke immediately.\npsycopg2.OperationalError: connect"
url: "https://hashnode.com/posts/localhost-means-two-different-things-and-docker-compose-doesn-t-warn-you/6abe42a5a598755c8ec38f75"
---

[Feed](https://hashnode.com/feed) /

Discussion

# ["localhost" Means Two Different Things, and Docker Compose Doesn't Warn You](https://blog.spectreworks.ai/localhost-means-two-different-things-and-docker-compose-doesn-t-warn-you?utm_source=hashnode&utm_medium=feed)

Containerized the CVE ingestion service today. Ran perfectly on the VPS directly, the way it had for weeks. Put it in Docker, ran it again, and it broke immediately. psycopg2.OperationalError: connect

Oct 1 · 2 min read · blog.spectreworks.ai  
Read the article

## Written by

[Joshua Rubio](https://hashnode.com/@spectreworks)

@spectreworks · Phoenix, USA

  
[View profile](https://hashnode.com/@spectreworks)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
