lucaconte 5 years ago
parent
commit
7dc8a93109
1 changed files with 19 additions and 9 deletions
  1. 19 9
      docker.md

+ 19 - 9
docker.md

@@ -1,5 +1,4 @@
-#Docker
-
+# Docker
 
 Altri eseguiti per riprodurre un ambiente trigger farm:
 
@@ -17,9 +16,10 @@ Le immagini:
 
 I container sono istanze di un'immagine
 
-Lanciare un'immagine: docker run --name='pippo' -d -i -t -p 57999:7999 -p 58080:8080 targatelematics/triggerfarm2:0.2
+Lanciare un'immagine:
+    docker run --name='pippo' -d -i -t -p 57999:7999 -p 58080:8080 incandenza/triggerfarm2:0.2
 
-Con nome "pippo" esponendo le porte 7999 su 57999 e 8080 su 58080 partendo dall'immagine targatelematics/triggerfarm2:0.2
+Con nome "pippo" esponendo le porte 7999 su 57999 e 8080 su 58080 partendo dall'immagine incandenza/triggerfarm2:0.2
 
 Mi aggancio ad container attivo di nome "pippo":
 
@@ -74,12 +74,22 @@ Per collegarsi ad un container (di nome "pippo") attivo in un nuovo tty:
 
 Tecnologia su cui si basa Docker:
 
-    https://en.wikipedia.org/wiki/LXC
+<https://en.wikipedia.org/wiki/LXC>
+
+## Cheatsheet
+
+<https://github.com/wsargent/docker-cheat-sheet>
+
+## Networking
+
+<https://www.oreilly.com/learning/what-is-docker-networking#example-bridge-mode-networking>
 
-**Cheatsheet**:
+## Tools
+**Runlike**: comando in python per fare il reversing di come sia stato lanciato un container utile, ad esempio:
 
-    https://github.com/wsargent/docker-cheat-sheet
+a) cpire cosa fanno vari altri tool tipo **docker-compose** fanno under-the-hood
+b) capire cosa **docker run** stesso aggiunge come parametri al lancio
 
-**Networking**:
+Per installarlo:
+    pip install runlike
 
-https://www.oreilly.com/learning/what-is-docker-networking#example-bridge-mode-networking