Create Directory
Goto Casa OS default AppData directory.
cd /DATA/AppData/
# Create a folder for the custom docker compose file
mkdir rustdesk
cd rustdesk
# Create config folder
mkdir config
cd config
# Create the docker-compose.yml file
nano docker-compose.yml
# Copy and paste the docker-compose.yml content into your created file
# Hit Ktrl+o to save
# Hit Ktrl+x to quit from nano editor
# Run docker inside the config folder
docker compose up -d
Run docker command without sudo
If your current user does not have privileges to run the docker command, follow the instructions in the link to resolve the problem.