Pull and start LocalAI with Docker
This single command downloads the LocalAI container image and starts it on your machine. Port 8080 is opened so you can reach the web interface from your browser. The '--name local-ai' part gives the container a friendly name so you can restart it later without re-downloading everything. This is the CPU-only version — it works on any computer.
Docker says the port 8080 is already in use
Change the left side of the port mapping: use -p 9090:8080 instead, then open localhost:9090 in your browser