See prerequisites of this sample.
pack build applications/akka --env BP_JVM_VERSION=11
docker run --rm --tty --publish 8080:8080 applications/akka
curl \
-X POST \
-d '{"name": "MrX", "age": 31, "countryOfResidence": "Canada"}' \
-H "Content-type: application/json" \
http://localhost:8080/users
curl -s http://localhost:8080/users | jq .