mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 17:11:49 +00:00
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.
1.0 KiB
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.