Skip to content

milanoid/stubby4j-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

stubby4j-docker

Dockerized stubby4j Hello World.

  1. pull Docker image from Docker Hub

docker pull milanoid/stubby4j-docker

  1. start Docker image

docker start -p 8882:8882 stubby4j-docker

  1. hit the stub API with curl

curl -X POST http://localhost:8882/hello-world

<?xml version="1.0"?>
<hello-world>
    <greeting>Hello, World!</greeting>
</hello-world>

curl http://localhost:8882/hello-world

{"hello world"}

Releases

No releases published

Packages