This repository is intended to serve a starting example to introduce the development of microservices using python and docker.
$ docker-compose --verbose up -d
If you get the next message when you run the docker-compose command, it means that you have a permission issue.
ERROR: Couldn't connect to Docker daemon at http+docker://localunixsocket - is it running?
If it's at a non-standard location, specify the URL with the DOCKER_HOST environment variable.
To solve the issue you need to execute the next commands:
$ sudo usermod -aG docker $USER && newgrp docker
Try to start the docker composition again and the problem must be solved.
Open a web browser in http://localhost:8082/users/hello.
$ docker-compose build
$ docker logs --tail 50 --follow --timestamps container_name
ex: docker logs --tail 50 --follow --timestamps esbay_user_1
$ docker ps
$ docker-compose down