-
Notifications
You must be signed in to change notification settings - Fork 0
Notes on installing docker
Julie Allinson edited this page May 22, 2019
·
2 revisions
-
Install Docker by following step 1 of the Docker Compose installation tutorial on your machine. You'll likely want to install Docker CE rather than Enterprise.
-
Make sure you don't need to
sudo
to run docker. Instructions on set-up and how to test that it works. -
Install Docker Compose by following steps 2 and onwards from the Docker Compose installation Tutorial.
Ubuntu Linux users, the command that Docker-Compose provides you with will not work since /usr/local/bin is not writeable by anybody but root in default Ubuntu setups. Use
sudo tee
instead, e.g.:
$ curl -L https://github.com/docker/compose/releases/download/[INSERT_DESIRED_DOCKER_COMPOSE_VERSION_HERE]/docker-compose-`uname -s`-`uname -m` | sudo tee /usr/local/bin/docker-compose > /dev/null && sudo chmod a+x /usr/local/bin/docker-compose
- Open a console and try running
docker -h
anddocker-compose -h
to verify they are both accessible.