spurin / diveintoansible-lab

Dive Into Ansible Lab
850 stars 531 forks source link

Issue to start a portal-c #63

Closed arturrudzinski closed 2 years ago

arturrudzinski commented 3 years ago

When starting a portal after docker-compose up i got the following error

Attaching to docker, centos1, ubuntu1, ubuntu-c, centos2, ubuntu3, centos3, ubuntu2, portal ubuntu-c exited with code 255 ubuntu2 exited with code 255 ubuntu1 exited with code 255 ubuntu3 exited with code 255 portal | 2021/09/21 12:12:44 [emerg] 1#1: host not found in upstream "ubuntu1" in /etc/nginx/conf.d/default.conf:46portal | nginx: [emerg] host not found in upstream "ubuntu1" in /etc/nginx/conf.d/default.conf:46 portal exited with code 1

spurin commented 3 years ago

Hi @arturrudzinski

Sorry to hear you're having this issue. If you're running this on Windows with an alternative WSL environment (i.e. Ubuntu), it may be the lack of systemd that's causing you the problem. It's easily resolved if so.

Have a look at the Readme in this repo and search for 255

If that isn't the issue you're experiencing, let me know more details about your environment and I'll help to resolve 👍

Best Regards

James Spurin

spurin commented 2 years ago

@arturrudzinski closing the issue, please reach out if you're still having problems. Thanks