![]() I preserved the docker build output (below).Ĭan you suggest changes to my Dockerfile (or elsewhere)? For example, I’m not wedded to the python:3.8.12-slim base. But I don’t (yet) know what that is.įurther clues: I ran into the same problem/error message on my Ubuntu 20.04 box. Second, I want to emphasize that I’m a newcomer to Docker. I have no off, thank you for looking at this question. Sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM, socket.IPPROTO_ICMP) Ping3.verbose_ping(addr, count=unt, ttl=args.ttl, timeout=args.timeout, size=args.size, interval=args.interval, interface=args.interface, src_addr=args.src_addr)įile "/usr/local/lib/python3.8/site-packages/ping3/_init_.py", line 83, in wrapperįile "/usr/local/lib/python3.8/site-packages/ping3/_init_.py", line 346, in verbose_pingĭelay = ping(dest_addr, seq=i, *args, **kwargs)įile "/usr/local/lib/python3.8/site-packages/ping3/_init_.py", line 280, in ping PermissionError: Operation not permittedĭuring handling of the above exception, another exception occurred:įile "/usr/local/lib/python3.8/site-packages/ping3/command_line.py", line 33, in main _socket.socket._init_(self, family, type, proto, fileno) ![]() Sock = socket.socket(socket.AF_INET, socket.SOCK_RAW, socket.IPPROTO_ICMP)įile "/usr/local/lib/python3.8/socket.py", line 231, in _init_ You can then docker exec -it whatever-docker-name /bin/bash to issue ping3 1.1.1.1 to see the error (see below) Thanks! # -*- coding: utf-8 -*-įrom cloudflarepycli import cloudflareclassįor clarity, the error message is: I have no ping3 1.1.1.1įile "/usr/local/lib/python3.8/site-packages/ping3/_init_.py", line 276, in ping ![]() src/zoomready/zoomsimple.py This just executes time.sleep(1) forever. ![]() Update: To simplify your experiment, change the CMD to refer to /src/zoomsimple.py and place this file in. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |