Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSL Issue? #11

Open
pydevlance opened this issue Oct 28, 2024 · 5 comments
Open

SSL Issue? #11

pydevlance opened this issue Oct 28, 2024 · 5 comments

Comments

@pydevlance
Copy link

┌─[✗]─[parrot@parrot]─[~/Documents/Topograph/topolograph-docker]
└──╼ $docker --version
Docker version 20.10.22, build 3a2c30b

┌─[parrot@parrot]─[~/Documents/Topograph/topolograph-docker]
└──╼ $python3 --version
Python 3.9.2

Traceback:
─[parrot@parrot]─[~/Documents/Topograph/topolograph-docker]
└──╼ $docker-compose up -d
Traceback (most recent call last):
File "/home/parrot/.local/bin/docker-compose", line 8, in
sys.exit(main())
File "/home/parrot/.local/lib/python3.9/site-packages/compose/cli/main.py", line 81, in main
command_func()
File "/home/parrot/.local/lib/python3.9/site-packages/compose/cli/main.py", line 200, in perform_command
project = project_from_options('.', options)
File "/home/parrot/.local/lib/python3.9/site-packages/compose/cli/command.py", line 60, in project_from_options
return get_project(
File "/home/parrot/.local/lib/python3.9/site-packages/compose/cli/command.py", line 152, in get_project
client = get_client(
File "/home/parrot/.local/lib/python3.9/site-packages/compose/cli/docker_client.py", line 41, in get_client
client = docker_client(
File "/home/parrot/.local/lib/python3.9/site-packages/compose/cli/docker_client.py", line 124, in docker_client
kwargs = kwargs_from_env(environment=environment, ssl_version=tls_version)
TypeError: kwargs_from_env() got an unexpected keyword argument 'ssl_version'

@pydevlance
Copy link
Author

forgot,
─[✗]─[parrot@parrot]─[~/Documents/Topograph/topolograph-docker]
└──╼ $docker-compose --version
docker-compose version 1.29.2, build unknown

@pydevlance
Copy link
Author

I installed again a self signed but still errors.

@pydevlance
Copy link
Author

I've corrected the issues, however it doesnt run as I am not seeing any containers load thus getting a 502 bad gateway at localhost:8080

sudo docker-compose pull
[sudo] password for parrot:
Pulling mongodb ... done
Pulling flask ... done
Pulling webserver ... done

sudo docker-compose up -d
Creating network "topolograph_backend" with driver "bridge"
Creating network "topolograph-docker_frontend" with driver "bridge"
Creating volume "topolograph-docker_mongodbdata" with local driver
Creating volume "topolograph-docker_nginxdata" with local driver
Creating mongodb ... done
Creating flask ... done
Creating webserver ... done

docker ps
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES

@Vadims06
Copy link
Owner

Hi @pydevlance ,
If you start docker-compose under sudo, please use sudo with sudo docker ps

@pydevlance
Copy link
Author

I see the stuff now, wasnt aware sudo was then required..
I have the webpage up now, but I also cloned the topology repo into the topology-docker dir.. not sure it that was requried todo so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants