spring-projects / spring-projects/spring-tools

Boot Dashboard / Docker / Random host ports

Open
#626 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

status: needs-discussion status: needs-investigation theme: boot-dashboard type: enhancement
Dominant language
Java
Stars
983
Forks
240
Avg merge
7d 1h
Merged PRs (30d)
7

Description

Describe the bug
Running SpringBoot applications from Eclipse IDE or Spring Tool Suite 4 with Boot Dashboard on a Docker instance, runs the application with random host ports.

To Reproduce
Run any SpringBoot demo application using Eclipse IDE or Spring Tool Suite 4 with Boot Dashboard on a remote Docker instance.
Notice that the container port is set to 8080 but the Docker host port is set to a ephemeral value.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with a Spring Boot demo in Eclipse or Spring Tool Suite 4, using Boot Dashboard against a remote Docker instance. Inspect how Boot Dashboard configures the container's port 8080 and Docker host port; done means the host-port mapping no longer unexpectedly uses an ephemeral value.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, java, spring-boot
Domain
devops, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.