Along with the REST containers, volumes for data persistence are also created. To use the configuration parameters of an old container using the volumes, perform the following steps:
(Optional) Stop your current docker container using the following command:
docker stop edirapi-container
Create the second container using the following command:
docker create --name edirapi-container-2 --network=host --volume edirapi-volume-2:/config/ edirapi:1.4.0
Start the second container using the following command:
docker start edirapi-container-2
(Optional) Now the first container can be removed using the following command:
docker rm edirapi-container