Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

Unable to Start Docker Image #51

Open
ItTonySuperMan opened this issue Jul 6, 2023 · 0 comments
Open

Unable to Start Docker Image #51

ItTonySuperMan opened this issue Jul 6, 2023 · 0 comments

Comments

@ItTonySuperMan
Copy link

ItTonySuperMan commented Jul 6, 2023

Issue: Unable to Start Docker Image

Description:
I attempted to run a Docker image on a Debian 11 host using the KVM architecture from BandwagonHost. However, I encountered an issue with the startup process. Here are the relevant details:

  • Image ID: 61a7f68d2f54
  • Host OS: Debian 11 (Kernel: 5.10.0-8-amd64)
  • Docker Version: 24.0.2, build cb74dfc

Steps to Reproduce:

  1. Deploy the image using the following command:
    docker run -p 1338:1338 ramonvc/freegpt-webui
    

Problem Description:
The image fails to start, appearing to get stuck during the startup process. After attempting to start it, I pressed Ctrl+C to terminate the command and received the following error message:

2023-07-06T13:09:23Z
Traceback (most recent call last):
  File "/app/./run.py", line 40, in <module>
Running on http://127.0.0.1:1338
Running on http://172.17.0.2:1338
    server.serve_forever()
  File "/root/.local/lib/python3.10/site-packages/gevent/baseserver.py", line 400, in serve_forever
    self._stop_event.wait()
  File "src/gevent/event.py", line 163, in gevent._gevent_cevent.Event.wait
  File "src/gevent/_abstract_linkable.py", line 521, in gevent._gevent_c_abstract_linkable.AbstractLinkable._wait
  File "src/gevent/_abstract_linkable.py", line 487, in gevent._gevent_c_abstract_linkable.AbstractLinkable._wait_core
  File "src/gevent/_abstract_linkable.py", line 490, in gevent._gevent_c_abstract_linkable.AbstractLinkable._wait_core
  File "src/gevent/_abstract_linkable.py", line 442, in gevent._gevent_c_abstract_linkable.AbstractLinkable._AbstractLinkable__wait_to_be_notified
  File "src/gevent/_abstract_linkable.py", line 451, in gevent._gevent_c_abstract_linkable.AbstractLinkable._switch_to_hub
  File "src/gevent/_greenlet_primitives.py", line 61, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch
  File "src/gevent/_greenlet_primitives.py", line 65, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch
  File "src/gevent/_gevent_c_greenlet_primitives.pxd", line 35, in gevent._gevent_c_greenlet_primitives._greenlet_switch

Expected Result:
I expected the image to start successfully and be accessible through port 1338 on the host.

Additional Information:

  • Please provide any relevant error logs, debug output, or attempted solutions.
  • Please verify the accuracy of the image ID, OS version, kernel version, and Docker version for better analysis and troubleshooting.

Thank you for your assistance!

@ItTonySuperMan ItTonySuperMan changed the title Docker镜像无法启动 Unable to Start Docker Image Jul 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant