You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using Portainer 2.20.2 and above on a Docker 24 (and earlier) environment, the Recreate functionality for containers does not work and instead returns a 500 error.
Expected Behavior
Container recreation to succeed.
Actual Behavior
Container recreation fails with a 500 error:
{
"message": "Error recreating container",
"details": "Create container error: \"specify mac-address per network\" requires API version 1.44, but the Docker daemon API version is 1.43"
}
Steps to Reproduce
Install Docker 24.0.6 (use the Specific versions instructions for your OS - Ubuntu example)
Install Portainer 2.20.2 or above
Log in and create a container (any will do, I used nginx)
After the container has been created, attempt to recreate the container (go to the details page for the container and click the Recreate button)
This issue is a result of updates to the Docker client library that we include as part of Portainer. These updates occurred in 2.20.2 and were performed to resolve CVEs related to the client library. Versions below 2.20.2 (including 2.19.5) are unaffected by this issue.
Internal Ref: EE-7169
The text was updated successfully, but these errors were encountered:
I'm facing a similar issue on a Synology NAS running docker 20.10.23 (deployed using the official Synology Apps repository). Could the root cause be the same ?
I don't know how to get detailed logs for the issues, so if someone could explain how to get those or redirect me to a page where I can find the instructions to do it it would be great.
I'm facing a similar issue on a Synology NAS running docker 20.10.23 (deployed using the official Synology Apps repository). Could the root cause be the same ?
Yes, this applies to Docker versions before 24 as well - I'll adjust the bug report to reflect that.
jamescarppe
changed the title
2.20.2+: Container recreate not working with Docker 24
2.20.2+: Container recreate not working with Docker 24 and earlier
Jun 11, 2024
Before you start please confirm the following.
Problem Description
When using Portainer 2.20.2 and above on a Docker 24 (and earlier) environment, the Recreate functionality for containers does not work and instead returns a 500 error.
Expected Behavior
Container recreation to succeed.
Actual Behavior
Container recreation fails with a 500 error:
Steps to Reproduce
Install Docker 24.0.6 (use the Specific versions instructions for your OS - Ubuntu example)
Install Portainer 2.20.2 or above
Log in and create a container (any will do, I used nginx)
After the container has been created, attempt to recreate the container (go to the details page for the container and click the Recreate button)
Portainer logs or screenshots
No response
Portainer version
2.20.3
Portainer Edition
Business Edition (BE/EE) with 5NF / 3NF license
Platform and Version
Docker 24.0.6
OS and Architecture
Ubuntu 20.04
Browser
No response
What command did you use to deploy Portainer?
Additional Information
This issue is a result of updates to the Docker client library that we include as part of Portainer. These updates occurred in 2.20.2 and were performed to resolve CVEs related to the client library. Versions below 2.20.2 (including 2.19.5) are unaffected by this issue.
Internal Ref: EE-7169
The text was updated successfully, but these errors were encountered: