Installing components for an AI system: docker

statue, sculpture, iron, steel, docker, finland, hamina, docker, docker, docker, docker, docker, finland

There are many components that go into making an AI system in a home-lab system. One major component is Docker. For those who do not know it, this enables running a virtual system within the operating system that is currently running on the hardware. What makes Docker powerful is that it abstracts away most of the hardware components and allows use of resources. Another feature it enables is portability. It is possible to move the docker container (defined as a lightweight, standalone, executable package of software that includes everything needed to run an application) from one machine to another and still execute the application.

There are good instructions for setting this up. One that I found specifically useful was this one.

https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-22-04

Docker is a wonderful container to many applications and here are some common commands that a user should know:

Common Commands:

  run         Create and run a new container from an image

  exec        Execute a command in a running container

  ps          List containers

  build       Build an image from a Dockerfile

  bake        Build from a file

  pull        Download an image from a registry

  push        Upload an image to a registry

  images      List images

  login       Authenticate to a registry

  logout      Log out from a registry

  search      Search Docker Hub for images

  version     Show the Docker version information

  info        Display system-wide information

Similar Posts

  • Detection of AI created content

    As AI has progressed generating code, writing, music or other intelligent language based skills through an LLM there is a parallel growth in detection of AI generated content.  Like everything AI, it is a probability game. Trying to estimate the combination of words/tokens and comparing with what is in the model. Using a standard model…

  • Error codes

    There is no error code in the answers that are provided by AI prompts. It will return an answer that is the best fit to the prompt or the question, but it does not tell you the probability that it is not correct or that it is low probability of answer. The conversational AI will…

  • Observability

    Observability is important for AI and AI tools. It is the ability to monitor them for token usage, response quality and model drift. Typically, an AI system is monitored through logs, traces and metrics but an AI system on AI agent may need other metrics. Troubleshooting a complex AI system that produces its output probabilistically…

  • Sparql tool – connect LLM to knowledge graphs

    Talk to knowledge graph – sparql-tool Use LLM.: Hallucinations (sometimes good for creativity), Outdated knowledge, no access to your data ( trained on public knowledge). Solutions: Fine tuning – retrain the model on domain data RAG – Search: look things up in real time. Claude code looks at searched doc. Vector embeddings: semantic similarity search…

  • Product

    What is a product by a company. The simplest example is a car that is made by the car company. The product is the car. But as the sales guys teach: their product is transportation. They offer the ability to travel from one place to another and the freedom that comes with it. So that…