25% off

Use code FUNCMAIN at checkout for 25% off all premium courses.

Get started →

Docker-compose for your Go Applications

March 12, 2023

Commands Run

# runs our docker-compose file 
$ docker-compose up 

# runs docker-compose in detached mode
$ docker-compose up -d

# gets the container IDs 
$ docker ps
# exec into the postgres container by container id
$ docker exec -it CONTAINERID bash
# Log into postgres
$ psql -U postgres 
Elliot Forbes

Elliot Forbes

Course Instructor

Hey Gophers! My name is Elliot and I'm the creator of TutorialEdge and I've been working with Go systems for roughly 5 years now.