Run javac and java from within container for a single class.
01_compile_hello_world.sh- compile Java code usingjavacfrom thejavaimage.02_run_hello_world.sh- run compiled Java class within a container.03_build_hello_world_image- build an image with Java class.04_run_hello_world_from_image.sh- run container based on the image built in the previous step.
Create network and run client and server as containers inside that network.
00_create_network.sh- create theknock-netnetwork.01_compile_and_run_server.sh- compile and runknock-knockserver.02_compile_and_run_client.sh- compile and runknock-knockclient.03_build_server_image.sh- buildknock-knockserver image.04_build_client_image.sh- buildknock-knockclient image.05_run_server_from_image.sh- runknock-knockserver from image.06_run_client_from_image.sh- runknock-knockclient from image.
Petclinic packaging and running.
00_get_code.sh01_build_image_maven.sh02_build_image_for_tomcat.sh03_build_image_fat_jar.sh04_run_maven_container.sh05_run_tomcat_container_generic.sh05_run_tomcat_container_packaged.sh06_run_fatjar_container.sh