All things docker
I have to ask, what are others doing for docker image builds? Are you still using Docker’s version?
Yep. Haven’t come across a good reason to move away from it yet.
I build images in GitHub or Gitlab and then push to GitLab Packages or ECR. I’ve started using both AWS ECR and GitHub for my personal images so if I share them with others, they can download anonymously without being rate limited by Docker.
I’m also moving to using the ECR public image gallery for the same reason… https://gallery.ecr.aws/
Amazon ECR Public Gallery is a website that allows anyone to browse and search for public container images, view developer-provided details, and see pull commands
We’re using project Kaniko to build our Docker images
@Santiago Campuzano I’m curious what benefits you have seen using kaniko? I’ve heard of it but haven’t played around with it yet myself.
It’s a security benefit, mostly
Ahh, that is nice.
From the docs:
kaniko doesn't depend on a Docker daemon and executes each command within a Dockerfile completely in userspace. This enables building container images in environments that can't easily or securely run a Docker daemon, such as a standard Kubernetes cluster.
Anyone know how I can can install docker-engine on a mac with out the desktop version. I need to be able to run
docker doesn’t run on mac without a vm, so you either need to run docker desktop or create your own linux vm and run it there.
I’m not familiar with
sam, what issues are you running into that seem to come from docker desktop?
I’m getting this error when calling
sam local invoke Error: Running AWS SAM projects locally requires Docker. Have you got it installed and running?
Looks like you may need to set the
DOCKER_HOST env var.
Install the AWS SAM CLI on your macOS host.
I believe you can get the value you need by running
docker context ls
That did it. I had it setup with Lima but forgot to export in my .zshrc file
Easy to miss that kind of thing