title: Why is Docker removing the double quotes from my environment variable?
body: <p>When I build my docker image and run the container, the double quotes are removed from my environment variable.</p>
  <p>Here is my Dockerfile:</p>
  <pre><code>FROM node:15
  
  WORKDIR /usr/src/app
  
  RUN mkdir -p /usr/src/app/logs
  
  COPY package*.json ./
  
  RUN npm install
  
  COPY . .
  
  # Timezone
  ENV TZ America/Chicago
  
  ### Edges
  ENV MONITORING_EDGE_THRESHOLDS={&quot;onlineStatus&quot;:&quot;OFFLINE&quot;,&quot;processors&quot;:{&quot;critical&quot;:90,&quot;degraded&quot;:75},&quot;memory&quot;:{&quot;critical&quot;:90,&quot;degraded&quot;:75},&quot;disks&quot;:{&quot;critical&quot;:90,&quot;degraded&quot;:75},&quot;subsystems&quot;:{&quot;critical&quot;:200,&quot;degraded&quot;:100},&quot;networks&quot;:{&quot;critical&quot;:2,&quot;degraded&quot;:1}}
  
  CMD [ &quot;node&quot;, &quot;server.js&quot; ]
  </code></pre>
  <p>Docker inspect shows the quotes are removed:</p>
  <pre><code>MONITORING_EDGE_THRESHOLDS
  
  {onlineStatus:OFFLINE,processors:{critical:90,degraded:75},memory:{critical:90,degraded:75},disks:{critical:90,degraded:75},subsystems:{critical:200,degraded:100},networks:{critical:2,degraded:1}}
  </code></pre>
  <p>Subsequently, my node.js app is failing because I need to convert this value to a JSON object using JSON.parse(), which isn't working because it's not a valid JSON object due to Docker removing the quotes.</p>