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

Docker not working #107

Closed
virgo77 opened this issue Apr 21, 2024 · 3 comments
Closed

Docker not working #107

virgo77 opened this issue Apr 21, 2024 · 3 comments

Comments

@virgo77
Copy link

virgo77 commented Apr 21, 2024

Hi there!
I'm trying to deploy the Docker PY-KMS solution, but the container is stuck on "starting".

I'm on Ubuntu Server 22.04 with latest docker and portainer
Some of my containers works fine. But not py-kms
image

I tried:

docker pull ghcr.io/py-kms-organization/py-kms
docker run -d --name KMSServer --restart always -p 1688:1688 ghcr.io/py-kms-organization/py-kms
or
docker run -d --name KMSServer --restart always -p 0.0.0.0:1688:1688 ghcr.io/py-kms-organization/py-kms
or
docker run -d --name KMSServer --restart always -p 192.168.1.230:1688:1688 ghcr.io/py-kms-organization/py-kms

Same with these 2 ones:

docker pull ghcr.io/py-kms-organization/py-kms:latest
docker pull ghcr.io/py-kms-organization/py-kms:python3

I took a look at your 'wiki' https://py-kms.readthedocs.io/en/latest/
maybe I'm doing something wrong?

Note that if I install it like a service, it runs well.
But I would prefer to launch it on docker, as Ubuntu Server is just used for this purpose. Nothing else :)

Any ideas?
Thanks a lot

@virgo77
Copy link
Author

virgo77 commented Apr 21, 2024

Damn... I don't undestand... It's for 2 hours I'm trying... and look!
image

I tried an activation and it worked...
Don't know what happened.

Just a question: is it good to see "healthy" or should I have to see "running"?

I'm really sorry to bother you...

V.

@didotb
Copy link

didotb commented Apr 24, 2024

You should enable logs if possible, in-case this happens again in the future.
You could also try opening the container's console output, might show something there as well.

@RocketImps
Copy link

Just a question: is it good to see "healthy" or should I have to see "running"?

I'm really sorry to bother you...

V.

On first run the container can take a several minutes to stabilize. Healthy means the docker container is functioning properly.

Your screenshots imply the container started up & is healthy which allowed activation. Portainer will use the color red for errors, orange for warnings & grey to indicate a container is not active. Green is good

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

4 participants