-
Notifications
You must be signed in to change notification settings - Fork 43
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
Error while fetching server API version #16
Comments
Did you find the solution ? |
No! |
I am getting similar issue: |
I got the following error when trying to run a simple python script.
Traceback (most recent call last):
File "/app/./test_sandbox.py", line 10, in
result = epicbox.run('python', 'python3 main.py', files=files, limits=limits)
File "/usr/local/lib/python3.9/site-packages/epicbox/sandboxes.py", line 225, in run
with create(profile_name, command=command, files=files, limits=limits,
File "/usr/local/lib/python3.9/site-packages/epicbox/sandboxes.py", line 70, in create
c = _create_sandbox_container(sandbox_id, profile.docker_image,
File "/usr/local/lib/python3.9/site-packages/epicbox/sandboxes.py", line 108, in _create_sandbox_container
docker_client = utils.get_docker_client()
File "/usr/local/lib/python3.9/site-packages/epicbox/utils.py", line 33, in get_docker_client
client = docker.DockerClient(base_url=base_url or config.DOCKER_URL,
File "/usr/local/lib/python3.9/site-packages/docker/client.py", line 45, in init
self.api = APIClient(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/docker/api/client.py", line 197, in init
self._version = self._retrieve_server_version()
File "/usr/local/lib/python3.9/site-packages/docker/api/client.py", line 221, in _retrieve_server_version
raise DockerException(
docker.errors.DockerException: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))
The text was updated successfully, but these errors were encountered: