Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Container cannot be reached #12

Open
sallyur opened this issue Mar 7, 2019 · 0 comments
Open

Container cannot be reached #12

sallyur opened this issue Mar 7, 2019 · 0 comments

Comments

@sallyur
Copy link
Collaborator

sallyur commented Mar 7, 2019

Configuration

azds version: 0.1.20190228.12
azds vscode extension: 0.1.120190228
JDK: 11

Steps

  1. Open project 'dev-spaces-master\samples\java\getting-started\webfrontend'
  2. Using "AZDS: Prepare xxxx" to generate launch.json and select open jdk
  3. Click F5

Result

Report error as below:
image

> Executing task: C:\Program Files\Microsoft SDKs\Azure\Azure Dev Spaces CLI (Preview)\azds.exe up --port=51452:7000 --detach --keep-alive --command /javadebug/start.sh <

Synchronizing files...2s
Using dev space 'default' with target 'sally37'
Installing Helm chart...1s
Waiting for container image build...4s
Building container image...
Step 1/8 : FROM maven:3.5-jdk-11-slim
Step 2/8 : EXPOSE 8080
Step 3/8 : WORKDIR /usr/src/app
Step 4/8 : COPY pom.xml ./
Step 5/8 : RUN /usr/local/bin/mvn-entrypoint.sh     mvn package -Dmaven.test.skip=true -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true --fail-never
Step 6/8 : COPY . .
Step 7/8 : RUN mvn package -Dmaven.test.skip=true -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true
Step 8/8 : ENTRYPOINT ["java","-jar","target/webfrontend-0.1.0.jar"]
Built container image in 1m 18s
Waiting for container...5s
Service 'webfrontend' port 80 (http) is available at http://localhost:59163
Container cannot be reached.
The terminal process terminated with exit code: 1

Terminal will be reused by tasks, press any key to close it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant