copy docker_defaults.env
to a file named .env
in same directory e.g.
cp docker_defaults.env .env
Get list of your video devices. An app like v4l2-ctl
should help:
v4l2-ctl --list-devices
Make any changes you need (use nvidia gpu, update images, change video volume mapping) to the newly created .env
file.
- v4l2loopback
- Docker
- docker-compose
- note: If using NVIDIA version, docker-compose 1.27.0+ needed to allow for
runtime
option in file format v3.
- note: If using NVIDIA version, docker-compose 1.27.0+ needed to allow for
- For use with an NVIDIA GPU: Nvidia Docker
- Start it up:
docker-compose up --build
(ordocker-compose up -d --build
) - Stop and remove containers:
docker-compose down
- Note: Ctrl-C is currently stops the containers instead of changing images
- You can instead rebuild with new settings:
docker-compose up -d --build
- You can instead rebuild with new settings:
For the NVIDIA version, add -f docker-compose-nvidia.yml
to each command e.g.
docker-compose -f docker-compose-nvidia.yml up -d --build
docker-compose -f docker-compose-nvidia.yml down