---
title: "Discussion on \"Using PostgreSQL with Docker and pgAdmin\" | Hashnode"
description: "Discussion on \"Using PostgreSQL with Docker and pgAdmin\". Step 1: Set Up Docker\nCreate a docker-compose.yml file:\nversion: '3.8'\n\nservices:\n  db:  # service 1st\n    image: postgres:latest\n    container_name: postgres_db  # if not provided docker will automatically assign one\n    environment:  # env variable..."
url: "https://hashnode.com/posts/using-postgresql-with-docker-and-pgadmin/67b3af78e5d0c015aa557b7c"
---

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

Discussion

# [Using PostgreSQL with Docker and pgAdmin](https://codecshivam.hashnode.dev/using-postgresql-with-docker-and-pgadmin?utm_source=hashnode&utm_medium=feed)

Step 1: Set Up Docker Create a docker-compose.yml file: version: '3.8' services: db: # service 1st image: postgres:latest container\_name: postgres\_db # if not provided docker will automatically assign one environment: # env variable...

Feb 17, 2025 · 2 min read · codecshivam.hashnode.dev  
Read the article

-   [#docker](https://hashnode.com/tag/docker)
-   [#postgresql](https://hashnode.com/tag/postgresql)
-   [#backend](https://hashnode.com/tag/backend)
-   [#linux](https://hashnode.com/tag/linux)
-   [#databases](https://hashnode.com/tag/databases)
-   [#setup](https://hashnode.com/tag/setup)

## Written by

[Shivam Yadav](https://hashnode.com/@codecShivam)

@codecShivam · Delhi, India

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

Web Developer

I am a developer from India, pursuing Btech majoring in Information Technology. I want to tackle tough problems that others find tricky. I'm okay with working late if needed. I love when my work gets noticed and that pushes me to do more. I'm also open to learning new things, even if I am not familiar with something initially. I'm all about giving my best to meet the work's needs.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
