In below docker-compose.yml, Volumes section not working with Rancher Desktop.
version: "3"
services:
# this container will run Cypress test using built-in Electron browser
e2e-electron:
image: "test12345"
command: "container1:run"
volumes:
- ./cypress/videos/container1:/cucumberproject/cypress/videos
- ./cypress/cucumber-json/container1:/cucumberproject/cypress/cucumber-json
- ./allure-results:/cucumberproject/allure-results
- ./cypress/screenshots/container1:/cucumberproject/cypress/screenshots
# this container will run Cypress test using Chrome browser
e2e-chrome:
image: "test12345"
command: "container2:run"
volumes:
- ./cypress/videos/container2:/cucumberproject/cypress/videos
- ./cypress/cucumber-json/container2:/cucumberproject/cypress/cucumber-json
- ./allure-results:/cucumberproject/allure-results
- ./cypress/screenshots/container2:/cucumberproject/cypress/screenshots