How to add local folder to Dynamic Grid #2197
Replies: 2 comments 8 replies
-
Your Docker Compose file includes a volume mount from a Windows path to a Linux path inside the container, which can be problematic because of path formatting and permission issues. Ensure the folder C:\Users\Desktop\docker\SeleniumTestFiles has the correct permissions for Docker to access it , and verify the paths in your config. if this answers your question mark it as answered. Good luck! |
Beta Was this translation helpful? Give feedback.
1 reply
-
This is not supported. It is not possible to mount directories to the child containers. What is your use case? |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I encountered an issue where I'm trying to add a folder to dynamically created containers, but it's not working as expected. Despite searching for solutions, I still end up with an empty folder in the Linux container or you can access a shared folder from such a container ? Has anyone else experienced a similar problem? Any assistance would be greatly appreciated. Thank you.
My docker-compose file
version: "3" services: node-docker: image: selenium/node-docker:4.18.0 volumes: - /dev/shm:/dev/shm - ./assets:/opt/selenium/assets - ./config.toml:/opt/bin/config.toml #Mount configuration file - /var/run/docker.sock:/var/run/docker.sock #Grid to run docker commands - C:\Users\Desktop\docker\SeleniumTestFiles:/home/seluser/Downloads depends_on: - selenium-hub environment: - SE_EVENT_BUS_HOST=selenium-hub - SE_EVENT_BUS_PUBLISH_PORT=4442 - SE_EVENT_BUS_SUBSCRIBE_PORT=4443 - SE_SCREEN_HEIGHT=1200 - SE_SCREEN_WIDTH=1920 - SE_VNC_NO_PASSWORD=1 shm_size: 4gb #Increase shm_size to prevent memory problems ports: - "5901:5901" #You can change the port config if necessary
Beta Was this translation helpful? Give feedback.
All reactions