← azuredeploy

README add

49e27577816dc4540add55f7078dcfcdf540e1bd · ovidiucs · Mar 6, 2024 00:05

+7 · 1 file changed

  • codefiles/src/README.md +7 −0
diff --git a/codefiles/src/README.md b/codefiles/src/README.md
new file mode 100644
index 0000000..9368bb7
--- /dev/null
+++ b/codefiles/src/README.md
@@ -0,0 +1,7 @@
+docker run -d --hostname primary_image primary_image:latest
+docker build -f Dockerfile.primary -t primary_image .
+docker build -f Dockerfile.secondary -t secondary_image .
+docker run -d --hostname secondary_image secondary_image:latest
+Not sure if docker compose would work here or not as we need to specify the order 
+in which these images would run. For instance primary would run first but can also be run second to test if connection to first image is 
+ok. However a docker compose might provide common netwroking between the two images.