anchor.diff:  <% end %>
   
   <% unless container['env_vars'].nil? || container['env_vars'].empty? %>
  -<% env_vars = Array(container['env_vars']).join(",").split(",").map(&:strip).map { |var| "--env #{var}" }.join(' ') %>
  +<% env_vars = Array(container['env_vars']).join(',').split(',').map { |var| "--env #{var.strip}" }.join(' ') %>
   # Set environment variables
   export <%= container['name'] %>_env="<%= env_vars %>"
   <% end %>
  
positive.code: <% end %>
  
  <% unless container['bind_ports'].nil? || container['bind_ports'].empty? %>
  <% bind_ports = Array(container['bind_ports']).join(",").split(",").map(&:strip).map { |ports| "--publish #{ports}" }.join(' ') %>
  # Map a network port to the container
  export <%= container['name'] %>_publish="<%= bind_ports %>"
  <% end %>
  
negative.code: export <%= container['name'] %>_cpu_shares="--cpu-shares <%= container['cpu_shares'] %>"
  <% end %>
  
  <% unless container['memory'].nil? || container['memory'].empty? %>
  # Memory limit (format: <number><optional unit>, where unit = b, k, m or g)
  export <%= container['name'] %>_memory="--memory <%= container['memory'] %>"
  <% end %>
  