anchor.diff:  <% end %>
   
   <% unless container['env_vars'].nil? || container['env_vars'].empty? %>
  -<% env_vars = container['env_vars'].map { |var| "--env #{var}" }.join(' ') %>
  +<% env_vars = Array(container['env_vars']).join(",").split(",").map(&:strip).map { |var| "--env #{var}" }.join(' ') %>
   # Set environment variables
   export <%= container['name'] %>_env="<%= env_vars %>"
   <% end %>
  
positive.code: export <%= container['name'] %>_cpu_shares="--cpu-shares <%= container['cpu_shares'] %>"
  <% end %>
  
  <% if container['memory'] %>
  # Memory limit (format: <number><optional unit>, where unit = b, k, m or g)
  export <%= container['name'] %>_memory="--memory <%= container['memory'] %>"
  <% end %>
  
negative.code: <% end %>
  
  <% unless container['bind_volumes'].nil? || container['bind_volumes'].empty? %>
  <% bind_volumes = Array(container['bind_volumes']).join(",").split(",").map(&:strip).map { |vol| "--volume $CONTAINERS_STORE_DIR/#{container['name']}:#{vol}" }.join(' ') %>
  # Create a bind mount to a directory
  export <%= container['name'] %>_bind_volumes="<%= bind_volumes %>"
  <% end %>
  