2024年10月5日 星期六

Notes for VLMCSD

## Tested on Ampere instance with Ubuntu 24.04 ##

懂得就懂


Create a new instance on OCI


#1 docker build

apt-get install git -y
apt-get install docker.io -y

git clone https://github.com/Wind4/vlmcsd-docker.git vlmcsd
cd vlmcsd
docker build -t vlmcsd .
docker run -idt -p 1688:1688 --restart=always vlmcsd


#2 docker compose

Follow this guide to install docker:
https://docs.docker.com/engine/install/ubuntu/#install-using-the-repository

git clone https://github.com/Wind4/vlmcsd-docker.git vlmcsd
cd vlmcsd
docker compose up -d


#3 shutdown & clean up

docker compose down --volumes --rmi all