Community

[FEATURE] Import/Export Docker images/containers

Ma
Master3395 #1

When we back up our CyberPanel and migrate to a new setup, re-adding all the Docker images and containers can be a tedious process.

It would be incredibly helpful if there were an option to import/export these configurations.
Additionally, having a method to handle advanced environment variables (ENV) in bulk would save a lot of time, especially when dealing with multiple configurations. Currently, adding 12-20 ENV settings one by one is quite time-consuming.

For reference, here’s how Portainer allows users to manage ENV configurations in an advanced manner:

image
Here is how CyberPanel shows every ENV atm.
Skjermbilde 2024-08-10 015717

SD
SaJeTek Developer #2

I’m in support of this, don’t swap out the current system but just add an advanced option.

I would also add that we should be able to manage exposed ports.
For instance, one of my Docker images for openlitespeed (running on centOS 7 to provide php 5 and 7 support) has 3 exposed ports, 80, 443, 7080.
When setting up, I may need to configure and use port 7080 but after that It’s not necessary to be used but in the current setup, I MUST port forward these ports.

After setup, I may just need port 443.

The current setup forces exposed ports without allowing modification which should not be which reduces the number of available ports and produces clutter.

Sign in to reply