Docker Installation
Contributors: Alicia Wang, Alanna Zhou
Last updated
Contributors: Alicia Wang, Alanna Zhou
Last updated
We’ll be using Docker in this course as a platform-agnostic way of ensuring that all development is done on the same operating system, letting us (the course staff) take care of installation issues, and avoid OS-specific installation issues.
Docker on Windows works fairly well on newer machines. You may have to install the Linux kernel update package. Try this and if it doesn't work, come to Office Hours, because the other option is daunting.
The other option is downloading a Virtualbox (a Virtual Machine) and installing Docker through there.
You can check that you've successfully installed Docker with: docker --version
If you're using Docker Desktop, make sure to start the Docker application before attempting to run Docker commands.
Error response from daemon: dial unix docker.raw.sock: connect: no such file or directory
This means that your Docker desktop is having trouble running (it may be "starting" for a long time), and that might be because you don't have enough space on your computer -- try to delete some stuff!
Try docker rm -fv $(docker ps -aq)
but it's recommended that you use the Docker Compose command (that is, if you've installed Docker Compose and have a docker-compose.yml
file in the directory that you will be running the following command): docker-compose down