Skip to content
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

add option for plain http registries #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kyrella
Copy link

@kyrella kyrella commented Mar 5, 2025

I wanted to use my private registry without the hassle of setting up certificates, so I had to find a way to make HTTP work. Since I couldn't find a skip verify or insecure registry option like in containerd or nerdctl, I ended up digging into the source code. Go is still on my todo list, but the solution does the job. The use_plain_http option, found under task configuration, now allows registries to use plain HTTP.

task "name" {
   ...
   config {
     image = "private:latest"
     use_plain_http = true
     ...
   }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant