Skip to content

Commit

Permalink
Run image
Browse files Browse the repository at this point in the history
  • Loading branch information
fwilhe committed May 6, 2024
1 parent 5b5edf9 commit 2d901d4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions example/spring-boot/run_example
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,9 @@ podman save --format oci-archive ubuntu:22.04 > ubuntu.oci

image="$(podman load < spring-demo_bare.oci | awk '{ print $NF }')"
podman tag "$image" spring-demo:latest_bare

podman image list --sort size localhost/spring-demo

timeout 10 podman run -d -p 8080:8080 spring-demo:latest_bare
sleep 5
curl 'http://localhost:8080/' -i -X GET

0 comments on commit 2d901d4

Please sign in to comment.