Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how do i start the docker machine #10

Open
rihani opened this issue Mar 21, 2020 · 0 comments
Open

how do i start the docker machine #10

rihani opened this issue Mar 21, 2020 · 0 comments

Comments

@rihani
Copy link

rihani commented Mar 21, 2020

how do i satrt the container please, i have tried all the following.
note that i cloned you git rep into a folder
i have other continer compose stack ruiing with no issue

docker-compose up
ERROR: Couldn't connect to Docker daemon at http+docker://localhost - is it running?

If it's at a non-standard location, specify the URL with the DOCKER_HOST environment variable.
ossama@AutoHome:~/node-red-contrib-selenium-webdriver$ eval "$(docker-machine env default)" docker-compose up -d --force-recreate

Command 'docker-machine' not found, but can be installed with:

sudo snap install docker

ERROR: Couldn't connect to Docker daemon at http+docker://localhost - is it running?

If it's at a non-standard location, specify the URL with the DOCKER_HOST environment variable.
ossama@AutoHome:/node-red-contrib-selenium-webdriver$
ossama@AutoHome:
/node-red-contrib-selenium-webdriver$
ossama@AutoHome:/node-red-contrib-selenium-webdriver$ ls
docker-build docker-compose.yml docker-env-start.sh images LICENSE package.json README.md selenium-webdriver.html selenium-webdriver.js
ossama@AutoHome:
/node-red-contrib-selenium-webdriver$ nano docker-env-start.sh
ossama@AutoHome:~/node-red-contrib-selenium-webdriver$ ./docker-env-start.sh
./docker-env-start.sh: line 1: docker-machine: command not found
ERROR: Couldn't connect to Docker daemon at http+docker://localhost - is it running?

If it's at a non-standard location, specify the URL with the DOCKER_HOST environment variable.
ossama@AutoHome:/node-red-contrib-selenium-webdriver$ cd docker-build/
ossama@AutoHome:
/node-red-contrib-selenium-webdriver/docker-build$ ls
Dockerfile docker-init.sh docker-run.sh flows.json local-build.sh README.md settings.js
ossama@AutoHome:/node-red-contrib-selenium-webdriver/docker-build$ ./docker-init.sh
bash: ./docker-init.sh: Permission denied
ossama@AutoHome:
/node-red-contrib-selenium-webdriver/docker-build$ sudo ./docker-init.sh
sudo: ./docker-init.sh: command not found
ossama@AutoHome:/node-red-contrib-selenium-webdriver/docker-build$ sudo bash docker-init.sh
docker-init.sh: line 1: docker-machine: command not found
ossama@AutoHome:
/node-red-contrib-selenium-webdriver/docker-build$ ./docker-run.sh
bash: ./docker-run.sh: Permission denied
ossama@AutoHome:/node-red-contrib-selenium-webdriver/docker-build$ sudo ./docker-run.sh
sudo: ./docker-run.sh: command not found
ossama@AutoHome:
/node-red-contrib-selenium-webdriver/docker-build$ sudo bash docker-run.sh
sh: 0: Can't open docker
sh: 0: Can't open docker
sh: 0: Can't open docker
sh: 0: Can't open docker
ossama@AutoHome:/node-red-contrib-selenium-webdriver/docker-build$ sudo bash docker-init.sh
docker-init.sh: line 1: docker-machine: command not found
ossama@AutoHome:
/node-red-contrib-selenium-webdriver/docker-build$ nano docker-init.sh
ossama@AutoHome:~/node-red-contrib-selenium-webdriver/docker-build$ docker-compose up
ERROR: Couldn't connect to Docker daemon at http+docker://localhost - is it running?

If it's at a non-standard location, specify the URL with the DOCKER_HOST environment variable.
ossama@AutoHome:/node-red-contrib-selenium-webdriver/docker-build$ cd ..
ossama@AutoHome:
/node-red-contrib-selenium-webdriver$ ls
docker-build docker-compose.yml docker-env-start.sh images LICENSE package.json README.md selenium-webdriver.html selenium-webdriver.js
ossama@AutoHome:/node-red-contrib-selenium-webdriver$ nano docker-compose.yml
ossama@AutoHome:
/node-red-contrib-selenium-webdriver$ ls images/
test-scen.png test-spec.png
ossama@AutoHome:~/node-red-contrib-selenium-webdriver$

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant