Skip to content

panpan0000/jitdi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JITDI (Just in Time Distribution Image)

Examples

Embedded

Below is an example of how to embed external content into the image with docker

Binary

jitdi -c ./test/file.yaml
docker run -it --rm host.docker.internal:8888/k8s/alpine/kubectl:v1.29.3 ls -lh /usr/local/bin/

Ollama Model

jitdi -c ./test/ollama.yaml
docker run -it --rm host.docker.internal:8888/ollama/llama2:7b

Allow insecure registries

Dockerd

/etc/docker/daemon.json

...
  "insecure-registries": [
    "host.docker.internal:8888",
  ],
...

Containerd cri

/etc/containerd/config.toml

[plugins."io.containerd.grpc.v1.cri".registry.mirrors."localhost:30888"]
   endpoint = ["http://localhost:30888"]

About

Just in Time Distribution Image

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 96.4%
  • Shell 3.6%