You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, cm selenoid is started so that the mount for logs and video are subdirectories of the default configuration directory or the directory configured with --config-dir. Using rancher-desktop and WSL on windows this currently leads to a problem.
Since I generally think, that it is a bad idea to mount a folder and also subfolders of this folder to other folders in the image, I would suggest a chanhe here.
For example, as of today, we mount ~/.aerokube/selenoid to /etc/selenoid and ~/.aerokube/selenoid/video to /opt/selenoid/video and ~/.aerokube/selenoid/logs to /opt/selenoid/logs. So within the docker image the following folders exist:
You see, that the video and logs folders are available twice, which is unneccesary.
Not knowing the internal of the image I would suggest either a single mount ~/.aerokube/selenoid to /opt/selenoid and read/write configuration, video and logs within this folder, or create three mounts ~/.aerokube/selenoid/conf to /etc/selenoid for configuration, ~/.aerokube/selenoid/video to /opt/selenoid/video for video and ~/.aerokube/selenoid/logs to /opt/selenoid/logs for logs.
This would be much cleaner and by the way bypass the bug in rancher-desktop stated above.
The text was updated successfully, but these errors were encountered:
Currently, cm selenoid is started so that the mount for
logs
andvideo
are subdirectories of the default configuration directory or the directory configured with--config-dir
. Usingrancher-desktop
andWSL
on windows this currently leads to a problem.See issue here: rancher-sandbox/rancher-desktop#2574
Since I generally think, that it is a bad idea to mount a folder and also subfolders of this folder to other folders in the image, I would suggest a chanhe here.
For example, as of today, we mount
~/.aerokube/selenoid
to/etc/selenoid
and~/.aerokube/selenoid/video
to/opt/selenoid/video
and~/.aerokube/selenoid/logs
to/opt/selenoid/logs
. So within the docker image the following folders exist:You see, that the video and logs folders are available twice, which is unneccesary.
Not knowing the internal of the image I would suggest either a single mount
~/.aerokube/selenoid
to/opt/selenoid
and read/write configuration, video and logs within this folder, or create three mounts~/.aerokube/selenoid/conf
to/etc/selenoid
for configuration,~/.aerokube/selenoid/video
to/opt/selenoid/video
for video and~/.aerokube/selenoid/logs
to/opt/selenoid/logs
for logs.This would be much cleaner and by the way bypass the bug in
rancher-desktop
stated above.The text was updated successfully, but these errors were encountered: