Problem with docker-compose under WSL2/Ubuntu20.4

Open
#83 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
docker, docker-compose, ubuntu

Research direction

Start by reproducing docker-compose up -d from ~/projects/training/docker_environment on WSL2 with Ubuntu 20.04. Check whether the Docker daemon is running and whether DOCKER_HOST is set; done means the command connects to Docker and starts the environment without the reported error.

Written by the indexing model from the issue text.

Description

Just at the beginning of the course, (environ setup : lesson https://academy.jfrog.com/path/conan/conan-essentials/590849 )after issuing the command:

~/projects/training/docker_environment$ docker-compose up -d

I've got an error message:

ERROR: Couldn't connect to Docker daemon at http+docker://localhost - is it running?

If it's at a non-standard location, specify the URL with the DOCKER_HOST environment variable.

I am using Ubuntu 20.04 on WSL 2

Dominant language
Python
Stars
63
Forks
38
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from conan-io/training

All issues in conan-io/training

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.