$ cat Dockerfile
FROM python:2.7
RUN pip install eventlet==0.21.0
CMD python -c 'import eventlet; eventlet.monkey_patch(); eventlet.listen(("localhost", 8000))'
$ docker build .
Sending build context to Docker daemon 3.584 kB
Step 1 : FROM python:2.7
---> 68caceba17ab
Step 2 : RUN pip install eventlet==0.21.0
---> Using cache
---> 59c6976d7a1a
Step 3 : RUN python -c 'import eventlet; eventlet.monkey_patch(); eventlet.listen(("localhost", 8000))'
---> Running in 1aab15c49d2b
Exception AttributeError: "'_SocketDuckForFd' object has no attribute '_closed'" in <bound method _SocketDuckForFd.__del__ of _SocketDuckForFd:8> ignored
Exception AttributeError: "'_SocketDuckForFd' object has no attribute '_closed'" in <bound method _SocketDuckForFd.__del__ of _SocketDuckForFd:9> ignored
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python2.7/site-packages/eventlet/convenience.py", line 40, in listen
sock = socket.socket(family, socket.SOCK_STREAM)
File "/usr/local/lib/python2.7/site-packages/eventlet/greenio/base.py", line 137, in __init__
notify_opened(fd.fileno())
File "/usr/local/lib/python2.7/site-packages/eventlet/hubs/__init__.py", line 189, in notify_opened
hub = get_hub()
File "/usr/local/lib/python2.7/site-packages/eventlet/hubs/__init__.py", line 116, in get_hub
use_hub()
File "/usr/local/lib/python2.7/site-packages/eventlet/hubs/__init__.py", line 70, in use_hub
mod = get_default_hub()
File "/usr/local/lib/python2.7/site-packages/eventlet/hubs/__init__.py", line 38, in get_default_hub
import eventlet.hubs.epolls
File "/usr/local/lib/python2.7/site-packages/eventlet/hubs/epolls.py", line 27, in <module>
from eventlet.hubs.hub import BaseHub
File "/usr/local/lib/python2.7/site-packages/eventlet/hubs/hub.py", line 23, in <module>
from eventlet.support import greenlets as greenlet, clear_sys_exc_info, monotonic, six
File "/usr/local/lib/python2.7/site-packages/eventlet/support/monotonic.py", line 167, in <module>
raise RuntimeError('no suitable implementation for this system')
RuntimeError: no suitable implementation for this system
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4