- Newest
- Most votes
- Most comments
The issue you're experiencing with pulling the latest n8n Docker image on your Lightsail instance appears to be related to Docker image caching behavior rather than an AWS-side caching proxy issue.
When pulling Docker images, there are several factors that could cause you to receive an older version:
-
If you're using the "latest" tag without explicitly forcing a new pull, Docker might be using a locally cached version of the image.
-
For Docker Hub Official Images, you may need to include the "/library/" in your image URI. For example, if you're pulling an official image, the correct format would be
docker-hub/library/image_name:tag. -
If you're using Docker Desktop on your local machine to build images that you then push to Lightsail, there might be issues related to the "Use containerd for pulling and storing images" setting. Some users have reported problems with image pushing when this feature is enabled.
To resolve this issue, try these approaches:
- Use the
--no-cacheflag when building your image - Pull with an explicit
--pull alwaysoption to force Docker to check for a newer version - Try specifying the exact version tag instead of using "latest"
- If you're using Docker Desktop, try disabling the "Use containerd for pulling and storing images" feature
- Ensure you're using unique tags or labels when pushing images to avoid immutability issues
If these steps don't resolve your issue, you might want to try pulling the image with a specific version tag that you know is current rather than relying on the "latest" tag.
Sources
Troubleshooting pull through cache issues in Amazon ECR - Amazon ECR
Lightsail push error – image tag already exists and is immutable | AWS re:Post
Lightsail image failed commit - 400 Bad Request | AWS re:Post
Hi,
We noticed the latest version of n8n image (v1.115) was pushed with :latest tag just today: https://hub.docker.com/layers/n8nio/n8n/latest/images/sha256-8e52be313448e6914b289e418fce4a3d9b64b1077007a46a3a89435489bfa7cb.
Kindly re-try pulling the image and you should see the latest version.
Thanks.
