Dockerfiles icon indicating copy to clipboard operation
Dockerfiles copied to clipboard

= SteeltoeOSS Docker Images :toc: preamble :toclevels: 1 :!toc-title: :linkattrs:

GitHub repo for SteeltoeOSS Docker images.

== Building

.Build a specific image:

./build.ps1 config-server

== Running

.List the created images:


docker images

See the link:https://github.com/SteeltoeOSS/Samples/blob/main/CommonTasks.md/[docker instructions] on how to run the various docker images.

== Images

|=== |Name |Description

|link:config-server/[steeltoeoss/config-server] | Spring Cloud Config Server

|link:eureka-server/[steeltoeoss/eureka-server] | Netflix Eureka Server

|link:spring-boot-admin/[steeltoeoss/spring-boot-admin] | Spring Boot Admin

|link:uaa-server/[steeltoeoss/uaa-server] | CloudFoundry UAA Server

|===

== Debug Image Building

Via link:https://stackoverflow.com/questions/32353055/how-to-start-a-stopped-docker-container-with-a-different-command/39329138#39329138[StackOverflow], here are the commands to list files in a stopped container.

  1. Find the id of the stopped container
  • docker ps -a
  1. Commit the stopped container to a new image: test_image.
  • docker commit $CONTAINER_ID test_image
  1. Run the new image in a new container with a shell.
  • docker run -ti --entrypoint=sh test_image