-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failures when building images with newer versions of the docker API #537
Comments
Ran into this with the most recent released version of docker on Ubuntu 22.04 not being able to work with nitro-cli anymore. Prior to this, I was building my docker container in Ubuntu, then running |
I'm consistently running into this with the latest version of Docker available on AmazonLinux2023
|
Confirmed that downgrading to Docker 24 (
|
We acknowledge this issue and will provide a fix soon. Currently, the only workaround is downgrading to Docker V24. @jalaziz |
The `shiplift` library which is currently used to interact with the docker API is unmaintained. Switch to `bollard` which is an actively maintained and fairly popular library. This fixes aws#537
The `shiplift` library which is currently used to interact with the docker API is unmaintained. Switch to `bollard` which is an actively maintained and fairly popular library. This fixes aws#537
@jalaziz Thank you for your valuable contribution to the project! It seems we were both working on the same issue concurrently, and I apologize for not noticing your submission earlier. 😊 I have reverted my changes and cherry-picked your commit into this pull request #595, with some minor modifications. If you don't mind, I would like to continue working on my branch as I need to perform additional testing. Thank you again for your collaboration and understanding! -Erdem |
I don't mind at all! Just wanted to help 🙏🏼 |
The `shiplift` library which is currently used to interact with the docker API is unmaintained. Switch to `bollard` which is an actively maintained and fairly popular library. This fixes aws#537 Signed-off-by: Erdem Meydanli <[email protected]>
The `shiplift` library which is currently used to interact with the docker API is unmaintained. Switch to `bollard` which is an actively maintained and fairly popular library. This fixes aws#537 Signed-off-by: Erdem Meydanli <[email protected]>
When will the RPM package in Amazon Linux 2023 be available? |
It has been added to the latest AL 2023 release: |
It looks like the images on docker are several releases behind: https://hub.docker.com/_/amazonlinux |
This project uses the
shiplift
crate to help access the Docker API in Rust. Unfortunately, the crate has not been updated to support newer versions of the Docker API. When attempting to build an enclave image using newer Docker API versions, the image build fails with:I have traced this to
shiplift
not supporting the latest changes in the Docker API. This can be easily reproduced by testing with a newer version of Docker Desktop using thecontainerd
image store.Given that the
shiplift
crate has not been updated in some time, it may be best to replace the dependency.The text was updated successfully, but these errors were encountered: