sourcegraph/doc/dev/getting-started/quickstart_4_start_docker.md
Thorsten Ball d3aaee6e38
docs: Move "install sg" step up in quickstart (#25829)
This addresses the first problem in #25774 and also makes it easier for
us in the future to absorb the follow-up steps into `sg`, because `sg`
is then the first thing that's installed.
2021-10-08 11:20:37 +02:00

1.0 KiB

Quickstart step 4: Start Docker

macOS

Option A: Docker for Mac

This is the easy way - just launch Docker.app and wait for it to finish loading.

Option B: docker-machine

The Docker daemon should be running in the background, which you can test by running docker ps. If you're on OS X and using docker-machine instead of Docker for Mac, you may have to run:

docker-machine start default
eval $(docker-machine env)

Ubuntu/Linux

The docker daemon might already be running, but if necessary you can use the following commands to start it:

# as a system service
sudo systemctl enable --now docker

# manually
dockerd

If you have issues running Docker, try adding your user to the docker group, and/or updating the socket file permissions, or try running these commands under sudo.

< Previous | Next >