Skip to content

AUTOM77/Docker-ai-infra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker-ai-infra

CI Status CI Status Docker Pulls Code Size License: MIT Open Issues

AI Infra with MicroMamba inside contrainer for: linux/amd64, linux/arm64, and linux/ppc64le;

🚧 Building .. 🚧

For default with unix socket,

AI_SOCKET='/dev/shm/infra.sock'

doas podman run --restart=always -itd \
    --name ai-infra \
    -e AI_SOCKET=$AI_SOCKET \
    -v /dev/shm:/dev/shm:rw \
    -v ~/demo:/opt/run:rw \
    -v /DATA:/opt/run/dataset:rw \
    monius/docker-ai-infra

If not works,

POD_DEFAULT='10.88.0.1'
doas podman run --privileged -itd \
    --name ai-infra \
    --group-add keep-groups \
    -p $POD_DEFAULT:9100:9100 \
    -v ~/demo/:/opt/run/:ro \
    -v /DATA:/opt/run/dataset:ro \
    monius/docker-ai-infra
doas podman run --name ai-infra -it monius/docker-ai-infra /bin/bash
doas podman exec -it ai-infra /bin/bash
doas podman run --name ai-infra -p 127.0.0.1:9100:9100 -itd monius/docker-ai-infra
doas podman run --name ai-infra -p 127.0.0.1:9100:9100 -it monius/docker-ai-infra /bin/bash

doas podman run --privileged -itd \
    --name ai-infra \
    --group-add keep-groups \
    -p 127.0.0.1:9100:9100 \
    -v ~/demo/:/opt/run/:ro \
    -v /DATA:/opt/run/dataset:ro \
    monius/docker-ai-infra

doas podman logs ai-infra
doas podman inspect -f '{{.NetworkSettings.IPAddress}}' ai-infra
doas podman rm -f $(doas podman ps -a -q)
doas podman rmi -f $(doas podman images -a -q)

For Debian

sudo podman rm -f $(sudo podman ps -a -q)
sudo podman rmi -f $(sudo podman images -a -q)

sudo podman run --name ai-infra -it monius/docker-ai-infra:base /bin/bash
sudo podman run --name ai-infra -itd monius/docker-ai-infra /bin/bash

sudo podman run -itd \
    --name ai-infra \
    -e AI_SOCKET=/dev/shm/infra.sock \
    -v /dev/shm:/dev/shm:rw \
    monius/docker-ai-infra

sudo podman run -it \
    -e AI_SOCKET=/dev/shm/infra.sock \
    -v /dev/shm:/dev/shm:rw \
    monius/docker-ai-infra \
    /bin/bash

sudo curl -GET --unix-socket /dev/shm/infra.sock http://localhost/

About

AI Infra with MicroMamba inside contrainer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published