Welcome to the CasaIMG project! This project aims to deliver CasaOS (https://github.com/IceWhaleTech/CasaOS) as a docker container.
- Docker must be installed on the host (works on Windows and Linux host).
- at least 150MB of RAM
The image is not yet published on DockerHub, so you have to build it yourself on your machine.
git clone --recurse-submodules https://github.com/Metazla/casa-img
cd casa-img
docker build -t casaimg .
Open http://localhost:8080 in your browser to access the web interface.
The image is not yet published on DockerHub, so you have to build it yourself on your machine:
To run the container, use the following command:
docker run -d \
-p 8080:8080 \
-e REF_NET=meta \ # optional, the network to attach the container created by CasaIMG
-e REF_PORT=80 \ # optional, the published port for the WEB-UI of a new container installation
-e REF_DOMAIN=nas.localhost \ # optional, the published hostname for the WEB-UI of a new container installation
-e DATA_ROOT=/c/DATA \ # mandatory, path where the data are located (Windows /c/path/DATA or Linux /path/DATA)
-v C:\DATA:/DATA \ # mandatory, where persistent data and app volume will be stored
-v /var/run/docker.sock:/var/run/docker.sock \ # mandatory, allows CasaIMG to control the docker host
--name casaimg casaimg
Create a docker-compose.yml
file with the following content:
services:
casaimg:
image: casaimg:latest
ports:
- "8080:8080"
environment:
REF_NET: meta # optional
REF_PORT: 80 # optional
REF_DOMAIN: nas.localhost # optional
DATA_ROOT: /c/DATA # mandatory, path where the data are located (Windows /c/DATA or Linux /path/DATA)
volumes:
- C:\DATA:/DATA # mandatory, where persistent data and app volume will be stored
- /var/run/docker.sock:/var/run/docker.sock # mandatory, allows CasaIMG to control the docker host
To start the service with Docker Compose, run:
docker-compose up -d