Docker: Port and Volume Mapping

Опубликовано: 20 Апрель 2016
на канале: CodeOps Show
38,373
378

Understanding port and volume mapping is perhaps one of the most important thing in learning docker. Since docker runs inside of a container we need to understand how our resources like disk space and ports are managed with in the container.

Volumes are docker's way of managing storage. There are a few ways we can connect volumes in docker. One of the ways is to just name a volume and have docker manage our volume for us. In this episode we explore how docker manages volumes.

Since docker services can't be accessed by the host OS we need to understand how port mapping works. This will allow us to access the service running on a port. Not all kinds of process needs port mapping however services that your app need to interact with such as postgres, redis, elasticsearch or memcache usually do.

#ZACKSIRI
  / zacksiri  

#SOCIAL
https://vimeo.com/channels/docker
http://www.codemy.net
  / codemy.net  
  / codemynet