RemoteDockers v1.3.3 RemoteDockers.MountPoint View Source

Mount point description for the Docker Containers API

Link to this section Summary

Functions

Build a new mount point description

Link to this section Functions

Link to this function new(source, target, type \\ "bind") View Source

Build a new mount point description.

Example:

  iex> MountPoint.new("source_path", "target_path")
  %MountPoint{:Source => "source_path", :Target => "target_path", :Type => "bind"}

  iex> MountPoint.new("/path/in/host", "/path/in/container", "volume")
  %MountPoint{:Source => "/path/in/host", :Target => "/path/in/container", :Type => "volume"}