• 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
  • Please beaware of a breaking change in the REST API on the next Plesk release (18.0.62).
    Starting from Plesk Obsidian 18.0.62, requests to REST API containing the Content-Type header with a media-type directive other than “application/json” will result in the HTTP “415 Unsupported Media Type” client error response code. Read more here

Question Docker Environment Variables

paulr

New Pleskian
Server operating system version
Ubuntu 22.04.2 LTS
Plesk version and microupdate number
Plesk Obsidian v18.0.51_build1800230310.09 os_Ubuntu 22.04
I'm running Docker and need to pass RSA_PRIVATE_KEY as an env variable containing the full text of a PEM formatted private key.

Entering it in the web interface the newlines are escaped (\\n) and I can't find a way to pass the variaable in a way that is acceptable to the container.

I can't find where plesk stores the config for containers (edits to /var/lib/docker/containers/xxx/config.v2.json don't persist). Does anyone know where plesk stores the config for containers? Can I pass the variable in any other way?

Thanks for any pointers.
 
Back
Top