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

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

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

  • |

    AI for drug discovery

    There are many companies that promise AI for drug discovery such as ChatGPT from OpenAI, Anthropic’s AI suite and Perplexity and there are more companies coming up too. One specific company that is unusual is that it seems to be promising much more deeper understanding of the drug discovery pathways then the others. It can…

  • |

    Knowledge graphs

    Knowledge graph is a way of representing information where entities/nodes (people, places, products, concepts) are linked by relationships/edges (works, creates, has ). It is a semantic network that captures facts and context. There is also an ontology that defines different types of node/edges and defines what types exist and how they relate. These are used…

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