Advertisement
Guest User

Untitled

a guest
Feb 21st, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. ifndef::full-version[]
  2. include::../headers.adoc[]
  3. :toc: macro
  4. :toc-title: What's the plan for this lesson?
  5.  
  6. toc::[]
  7. endif::full-version[]
  8.  
  9. == Lesson 3: Containers and the rest of the world
  10.  
  11. === Port Mapping
  12.  
  13. ////
  14. based on nginx
  15.  
  16. docker run -p hostPort:containerPort
  17.  
  18. Dockerfile
  19. EXPOSE
  20. ////
  21.  
  22. === Environment variable at runtime
  23.  
  24. ////
  25. docker run -e key=value
  26.  
  27. ////
  28.  
  29. === Volumes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement