Basically trying to see the containers with Web UI.
- Start and stop containers
- Show container's log (maybe real time, idk)
- Go
- Docker Compose
- Modify docker_compose.yaml as your need (mostly port so it would conflict with other containers)
- Export the Host IP (Local machine) in terminal (reset each session). Example
export HOST_IP=172.31.0.2
- Build the image and Run Docker compose
docker compose build
docker compose up -d
or
docker compose up -d --build
- Clone the project
git clone https://github.com/rizkidn17/see-containers.git
- Export the PORT in terminal (reset each session). Example :
export PORT=8080
- Install dependencies
go mod download
go mod tidy
- Run the app
go run ./cmd/see-containers