How to run docker images in google-colaboratory ? I tried to install docker service in google-colaboratory.
However, I got the error message about " Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?", when I executed the docker's commands.
screen-snap
I wonder How to solve this problem?
THX
i think right now we can't use docker in collab, i tried instaling sudo
and even runing de docker daemon with dockerd
command and have no positive result.
my solution was to install all the dependencies of the image by hand like this:
!sudo apt-get update
!apt-get install -y wget bzip2
!apt-get install -y gcc perl git
!rm -rf /var/lib/apt/lists/*!cd /
!mkdir anaconda
!cd anaconda
!wget https://repo.anaconda.com/archive/Anaconda2-5.2.0-Linux-x86_64.sh
!bash Anaconda2-5.2.0-Linux-x86_64.sh
!source ~/.bashrc
!cd ..
!rm -r anaconda
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With