diff --git a/selenoid/docker.go b/selenoid/docker.go index 3a71a75..bca2df8 100644 --- a/selenoid/docker.go +++ b/selenoid/docker.go @@ -517,7 +517,7 @@ func (c *DockerConfigurator) Start() error { videoConfigDir := getVolumeConfigDir(filepath.Join(c.ConfigDir, videoDirName), append(selenoidConfigDirElem, videoDirName)) volumes := []string{ fmt.Sprintf("%s:/etc/selenoid:ro", volumeConfigDir), - fmt.Sprintf("%s:/output", videoConfigDir), + fmt.Sprintf("%s:/opt/selenoid/video", videoConfigDir), } const dockerSocket = "/var/run/docker.sock" if fileExists(dockerSocket) { diff --git a/selenoid/lifecycle.go b/selenoid/lifecycle.go index 30c607a..c61bd8e 100644 --- a/selenoid/lifecycle.go +++ b/selenoid/lifecycle.go @@ -137,10 +137,10 @@ func (l *Lifecycle) Start() error { func() error { if l.runnable.IsRunning() { if l.Force { - l.Titlef("Stopping previous Selenoid instance...\n") + l.Titlef("Stopping previous Selenoid instance...") err := l.Stop() if err != nil { - return fmt.Errorf("failed to stop previous Selenoid instance: %v\n", err) + return fmt.Errorf("failed to stop previous Selenoid instance: %v", err) } } else { l.Titlef("Selenoid is already running")