• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Question Docker: Environment Variables with "=" are not allowed - why?

Tim Weyand

New Pleskian
Hi,
i have a problem with an Docker Container. The Container has an Environment Variable which influence the runtime command. By Default in may be used unchanged or overwritten.

In Plesk Onyx 17.5.3 i have the problem, that there is:
  1. no way to keep the default value
  2. Plesk does not allow "=" in Environment Variables (XSS prevention?)
Is there anyway to use the Container, or do I have to rewrite it for Plesk? I tried escaping it already (screenshot)

Best,
Tim
 

Attachments

  • Bildschirmfoto 18.jpg
    Bildschirmfoto 18.jpg
    206.9 KB · Views: 24
Hi Igor,
nice Blogpost :) As I said I could rewrite the Dockerfile or for that instance use another Docker (for example: million12/varnish) container.

As I wanted to use a Docker, which we have in our Production Cluster - the Question remains how and if I can use "=" in Environment Variables or how I do not change the Default Variables given in a Dockerfile.
 
Back
Top