• 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

Resolved Docker Image Location

Sysop

Basic Pleskian
Hello,

I was wondering if it was possible to configure Plesk to store Docker images on another partition. The problem now is that some of the images I'm using eat up every last bit of my boot drive and that seems to be the default location where it operates from. If there's somewhere I can change the setting I'm not finding it.

~ Thanks
 
hello @Sysop ,
Plesk uses ordinary docker daemon, so you need to change it's settings.
regarding change default path for docker images I can suggest two ways:

  1. Stop docker daemon.
  2. Make sure that there are no docker related processes.
  3. Move the contents of /var/lib/docker to your new location.
  4. Create a softlink to default location.
  5. Start docker daemon.
  6. Make sure all the images and data are working from the new location

or
  1. Take a backup of docker. service file. ...
  2. Modify /lib/systemd/system/docker.service to tell docker to use our own directory. instead of default /var/lib/docker. ...
  3. Stop docker service. ...
  4. Do daemon-reload as we changed docker.service file. ...
  5. rsync existing docker data to our new location. ...
  6. Start docker service
 
Back
Top