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

  • Judging art

    Art especially with pencil and paper is the culmination of human esthetic and often times is dependent on the eye of the beholder. Some artwork that is meaningful to one person is not so understandable or sometimes even ugly to the other person. So how do you judge art. There are several ways to do…

  • AI Automations

    The AI automations have only increased. There is one interesting one that has been receiving publicity. Check it out: https://knowledgework.ai It takes notes while the person is working and becomes the second brain. Privacy and access may be of concern but capability is available with AI tools.

  • 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…

  • DeepSpot

    Kalin Klonchev – the winner of a competition for AI based data analysis from Broad in 2024 had also created a tool called DeepSpot. Worth looking at for spot analysis of H&E sections by converting a full H&E slide pictures to “spots” which are analyzed. Some good links: DeepSpot paper: https://www.medrxiv.org/content/10.1101/2025.02.09.25321567v1 DeepSpot GitHub repository: https://github.com/ratschlab/DeepSpot…

  • | |

    Functional prediction of microbial sequences

    Even with E.coli and M.tuberculosis we only know ½ of them. Can you use ML model to define function: as natural language, or molecular interaction or chemical reaction. Function as molecular interaction: protein – protein interaction. Genomics: Learn association between genes (just like words). It is called gLM2. A multi-modal single residue resolution gLM. GLM2…

  • 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…