Sign inSign up

jinhokwon/spring-boot-rest-first

By jinhokwon

Updated about 6 years ago

Image
0

1.4K

jinhokwon/spring-boot-rest-first repository overview

Test v1.00.00

start server
$ docker run -i -t -d -p 8080:8080 --hostname spring-boot-rest-first --name spring-boot-rest-first jinhokwon/spring-boot-rest-first:v1.00.00
test Server
$ curl -s -XGET http://localhost:8080 | jq
{
  "result": "first",
  "headers": {
    "host": "localhost:8080",
    "user-agent": "curl/7.68.0",
    "accept": "*/*"
  },
  "hostname": "spring-boot-rest-first",
  "address": "172.17.0.2",
  "version": "v1.00.00"
}
stop server (v1.00.00)
$ docker stop spring-boot-rest-first
spring-boot-rest-first
remove server (v1.00.00)
$ docker rm spring-boot-rest-first
spring-boot-rest-first

Test v1.00.01

start server
$ docker run -i -t -d -p 8080:8080 --hostname spring-boot-rest-first --name spring-boot-rest-first jinhokwon/spring-boot-rest-first:v1.00.01
test Server
$ curl -s -XGET http://localhost:8080 | jq
{
  "result": "first",
  "headers": {
    "host": "localhost:8080",
    "user-agent": "curl/7.68.0",
    "accept": "*/*"
  },
  "hostname": "spring-boot-rest-first",
  "address": "172.17.0.2",
  "version": "v1.00.01"
}
stop server (v1.00.01)
$ docker stop spring-boot-rest-first
spring-boot-rest-first
remove server (v1.00.01)
$ docker rm spring-boot-rest-first
spring-boot-rest-first

Tag summary

Content type

Image

Digest

Size

85.6 MB

Last updated

almost 7 years ago

docker pull jinhokwon/spring-boot-rest-first