How do you use a private docker hub image on AWS Lightsail?
I'm following the guide here https://docs.deno.com/runtime/manual/advanced/deploying_deno/aws_lightsail
Although how do you use a private docker hub image on AWS Lightsail? Otherwise all your code is public.
Deploy Deno to Amazon Lightsail | Deno Docs
Amazon Lightsail is the easiest and
3 Replies
I wasn't able to find the answer to your question about using a private Docker Hub image on AWS Lightsail in the official Deno documentation. The Deno documentation primarily focuses on Deno-specific topics and may not cover the specifics of deploying on AWS Lightsail with private Docker images.
However, based on your message, I can provide some general advice that is not based on the Deno documentation. To use a private Docker Hub image on AWS Lightsail, you typically need to authenticate with Docker Hub to pull the private image. This often involves creating a
docker-compose.yml
file or a similar configuration where you specify your Docker Hub credentials so that Lightsail can authenticate and pull the image.
Please note that this advice is not based on the Deno documentation, and I would recommend double-checking the accuracy of this advice and consulting the AWS Lightsail documentation or Docker Hub documentation for more detailed instructions on how to use private Docker images with AWS Lightsail.You can push to AWS ECR private repos: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-ecr-private-repositories
Can’t you use the one you have on GitHub or GitLab?