Skip to content

Commit

Permalink
Debug docker socket in Github [run-notebook-tests]
Browse files Browse the repository at this point in the history
  • Loading branch information
tkilias committed Mar 7, 2024
1 parent f6d367d commit c012f87
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ def notebook_test_container(request, notebook_test_image):
@pytest.fixture()
def notebook_test_container_with_log(notebook_test_container):
time.sleep(10) # wait that the entrypoint changed the permissions of the docker socket
print("Docker socket")
socket = Path("/var/run/docker.sock")
print(socket)
print(socket.stat())
print()
print("Container Logs:")
print(notebook_test_container.logs().decode("utf-8"), flush=True)
Expand Down

0 comments on commit c012f87

Please sign in to comment.