> ## Content Index
> Fetch the complete content index at: https://lucas-schiavini.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# Playing Around with Docker, Elixir and PostgreSQL
- URL: https://lucas-schiavini.com/playing-around-with-docker-elixir-and-postgresql/
- Published: 2022-01-11T23:37:26.000Z
- Updated: 2025-04-18T13:35:41.000Z
- Author: Lucas Schiavini
- Tags: development, #Import 2026-08-11 14:49

I decided to give those technologies a go, since I worked mostly on front end and mobile dev, I thought it would be interesting to learn a bit of the backend.

First problems occurred because I work on a Windows machine, using WSL 2 to use Ubuntu.

So I had to install elixir on my ubuntu wsl environemnt.

Docker was a hard one to crack, I kept getting 

“Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get “http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/json”: dial unix /var/run/docker.sock: connect: permission denied”

To solve it some dude posted that I should do:

sudo chmod 666 /var/run/docker.sock

chmod 666 would be:

| User   | read and write |
| ------ | -------------- |
| Group  | read and write |
| Others | read and write |

Seems to have worked.

The elixir api will be a graph ql one.

The goal is to map out gym like feature such as trainings, exercises, users, etc.

First I started learning how to set up an elixir project, and set up an endpoint to call functions on.

To be continued.

---

Fuck me the company blocked my access to other coding lessons.

Onwards towards node.js then.