mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 16:51:55 +00:00
This commit does a couple of changes to the development setup, to update information and to simplify the setup process: - Update documentation with latest requirements - Fix formatting of the requirements list - Introduce `dev/compose.yml` to simplify redis and postgresql docker setups via docker-compose - Add default values for PG* environment variables to the `dev/start.sh` script. - Restructure docker instructions Co-authored-by: Thorsten Ball <mrnugget@gmail.com>
1.0 KiB
1.0 KiB
Quickstart step 3: 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.