ImportError: libGL.so.1: cannot open shared object file: No such file or directory

I am trying to run cv2, but when I try to import it, I get the following error: ImportError: libGL.so.1: cannot open shared object file: No such file or directory The suggested solution online is installing apt install libgl1-mesa-glx but this is already installed and the latest version. NB: I am actually running this on … Read more

Docker Error bind: address already in use

When I run docker-compose up in my Docker project it failes with the following message: Error starting userland proxy: listen tcp 0.0.0.0:3000: bind: address already in use netstat -pna | grep 3000 shows this: tcp 0 0 0.0.0.0:3000 0.0.0.0:* LISTEN – I’ve already tried docker-compose down, but it doesn’t help. 31 Answers 31 In your … Read more

Docker-compose: node_modules not present in a volume after npm install succeeds

I have an app with the following services: web/ – holds and runs a python 3 flask web server on port 5000. Uses sqlite3. worker/ – has an index.js file which is a worker for a queue. the web server interacts with this queue using a json API over port 9730. The worker uses redis … Read more

docker command not found even though installed with apt-get

Adding this for reference for others because it would have saved me 10 minutes if such an answer existed. I tried installing Docker using ubuntu 14.0LTS virtualbox sudo apt get install docker However, when I try running docker it gives me the following error The program ‘docker’ is currently not installed. You can install it … Read more

Cannot connect to the Docker daemon at unix:/var/run/docker.sock. Is the docker daemon running?

I have applied every solution available on internet but still I cannot run Docker. I want to use Scrapy Splash on my server. Here is history of commands I ran. docker run -p 8050:8050 scrapinghub/splash sudo docker run -p 8050:8050 scrapinghub/splash sudo usermod -aG docker $(whoami) sudo docker run -p 8050:8050 scrapinghub/splash newgrp docker sudo … Read more