---
title: "Discussion on \"Installing Docker and docker-compose in Ubuntu 20.04 and WSL\" | Hashnode"
description: "Discussion on \"Installing Docker and docker-compose in Ubuntu 20.04 and WSL\". Docker and docker-compose"
url: "https://hashnode.com/posts/installing-docker-and-docker-compose-in-ubuntu-2004-and-wsl/619fb24e9829fb749bcbecce"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Installing Docker and docker-compose in Ubuntu 20.04 and WSL](https://blog.maulik.tech/installing-docker-and-docker-compose-in-ubuntu-2004-and-wsl?utm_source=hashnode&utm_medium=feed)

Docker and docker-compose

Nov 25, 2021 · 3 min read · blog.maulik.tech  
Read the article

-   [#docker](https://hashnode.com/tag/docker)
-   [#ubuntu](https://hashnode.com/tag/ubuntu)

## Written by

[Maulik Patel](https://hashnode.com/@Maulik9898)

@Maulik9898

  
[View profile](https://hashnode.com/@Maulik9898)

Tech

## Responses 1

Markdown supported · ⌘↵ to post

[Gaurav-Jethuri](https://hashnode.com/@gauravjethuri11)

[May 12, 2023](https://hashnode.com/posts/installing-docker-and-docker-compose-in-ubuntu-2004-and-wsl/619fb24e9829fb749bcbecce/comment/645e3e34d66e767ec95ac6e9)

while installing it i am getting this, gaurav@LAPTOP-4KT5PNO7:~$ sudo service docker restart

-   Starting Docker: docker \[ OK \] gaurav@LAPTOP-4KT5PNO7:~$ sudo docker run hello-world docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?. See 'docker run --help'. can you help me?
