aerokube / cm

Configuration manager for Aerokube products
https://aerokube.com/cm/latest/
Apache License 2.0
119 stars 31 forks source link

cm binary 1.6.1: MacOS without Docker: 'Can not access Docker' exception when try to start selenoid with safari from cm #237

Closed beregeyko closed 5 years ago

beregeyko commented 5 years ago

cm version - 1.6.1 darwin mac os - 10.13.6

precondition: OS doesn't have installed Docker

STR:

  1. download cm as binary
  2. try to start selenoid with -browsers safari args

./cm selenoid start -browsers safari

Actual result: Exception Failed to initialize: [can not access Docker: make sure you have Docker installed and current user has access permissions]

Note: works as expected on 1.5.7

vania-pooh commented 5 years ago

@beregeyko starting from release 1.6.0 you should specify --use-drivers flag in order to explicitly enable drivers mode. Automatic fallback was often confusing for users.

vania-pooh commented 5 years ago

@beregeyko did it help?

vania-pooh commented 5 years ago

@beregeyko closing because of inactivity. Feel free to reopen if still not working.

artemBeletzky commented 1 year ago

Hey everyone, I'm on MacOS and I receive same exact error but the difference is that I actually have Docker Desktop installed and running. Any thoughts?

vania-pooh commented 1 year ago

@artemBeletzky make sure docker ps command works.

dfosticupgrade commented 1 year ago
% ./cm selenoid start --use-drivers --vnc 
> Using driver binaries...
> Selenoid is already downloaded
> Selenoid is already configured
> Starting Selenoid...
> Successfully started Selenoid

% 2023/09/11 10:25:34 [-] [INIT] [Loading configuration files...]
2023/09/11 10:25:34 [-] [INIT] [Loaded configuration from /Users/me/.aerokube/selenoid/browsers.json]
2023/09/11 10:25:34 [-] [INIT] [Logs Dir: /Users/me/.aerokube/selenoid/logs]
2023/09/11 10:25:34 [-] [INIT] [Timezone: Local]
2023/09/11 10:25:34 [-] [INIT] [Listening on :4444]

these does nothing, no container is started

@vania-pooh any thoughts?

vania-pooh commented 1 year ago

@dfosticupgrade what is the reason of providing --use-drivers flag? This disables Docker support at all. We never recommended doing this.