[GH-ISSUE #338] Error: unable to determine if image already exists for image "docker://dvcorg/cml-py3:latest": Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? #238

Closed
opened 2026-03-01 21:41:42 +03:00 by kerem · 4 comments
Owner

Originally created by @ucalyptus on GitHub (Aug 18, 2020).
Original GitHub issue: https://github.com/nektos/act/issues/338

name: train-my-model

on: [push]

jobs:
  run:
    runs-on: [ubuntu-latest]
    container: docker://dvcorg/cml-py3:latest

    steps:
      - uses: actions/checkout@v2

      - name: cml_run
        env:
          repo_token: ${{ secrets.GITHUB_TOKEN }}
        run: |
          pip3 install -r requirements.txt
          python train.py
          
          cat metrics.txt >> report.md
          cml-publish confusion_matrix.png --md --title 'confusion-matrix' >> report.md
          cml-send-comment report.md 

Gist Colab to reproduce issue

Originally created by @ucalyptus on GitHub (Aug 18, 2020). Original GitHub issue: https://github.com/nektos/act/issues/338 ``` name: train-my-model on: [push] jobs: run: runs-on: [ubuntu-latest] container: docker://dvcorg/cml-py3:latest steps: - uses: actions/checkout@v2 - name: cml_run env: repo_token: ${{ secrets.GITHUB_TOKEN }} run: | pip3 install -r requirements.txt python train.py cat metrics.txt >> report.md cml-publish confusion_matrix.png --md --title 'confusion-matrix' >> report.md cml-send-comment report.md ``` # [Gist Colab to reproduce issue](https://colab.research.google.com/gist/ucalyptus/4d3e21374cd50a48f9aa898925fb03ff/trial-bedardi-raja.ipynb)
kerem 2026-03-01 21:41:42 +03:00
  • closed this issue
  • added the
    stale
    label
Author
Owner

@ucalyptus commented on GitHub (Aug 18, 2020):

Screenshot from 2020-08-18 16-26-57

I also tried this on my local system but some issues on the docker container.

<!-- gh-comment-id:675411127 --> @ucalyptus commented on GitHub (Aug 18, 2020): ![Screenshot from 2020-08-18 16-26-57](https://user-images.githubusercontent.com/36279638/90505297-fe29e780-e16f-11ea-9bbe-1c8a0a23ae58.png) # I also tried this on my local system but some issues on the docker container.
Author
Owner

@ucalyptus commented on GitHub (Aug 18, 2020):

@cplee

<!-- gh-comment-id:675489018 --> @ucalyptus commented on GitHub (Aug 18, 2020): @cplee
Author
Owner

@cdb commented on GitHub (Aug 31, 2020):

@ucalyptus - it looks like Docker is not running on the machine that you are using. I believe act expects that it will be able to connect too a running docker daemon.

<!-- gh-comment-id:684039208 --> @cdb commented on GitHub (Aug 31, 2020): @ucalyptus - it looks like Docker is not running on the machine that you are using. I believe `act` expects that it will be able to connect too a running docker daemon.
Author
Owner

@github-actions[bot] commented on GitHub (Oct 31, 2020):

Issue is stale and will be closed in 7 days unless there is new activity

<!-- gh-comment-id:719853953 --> @github-actions[bot] commented on GitHub (Oct 31, 2020): Issue is stale and will be closed in 7 days unless there is new activity
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#238
No description provided.