[GH-ISSUE #1583] Could not load X509 key pair #793

Closed
opened 2026-03-01 21:46:26 +03:00 by kerem · 1 comment
Owner

Originally created by @emirdeliz on GitHub (Jan 25, 2023).
Original GitHub issue: https://github.com/nektos/act/issues/1583

Bug report info

Default image and other options can be changed manually in ~/.actrc (please refer to https://github.com/nektos/act#configuration for additional information about file structure) Large
ERRO[0015] failed to obtain container engine info: failed to connect to docker daemon: Could not load X509 key pair: open /usr/local/bin/docker/cert.pem: not a directory 
[Linux 64/test] 🚀  Start image=node:16-buster-slim
[Linux 64/test]   🐳  docker pull image=node:16-buster-slim platform=linux/amd64 username= forcePull=false
Error: unable to determine if image already exists for image 'node:16-buster-slim' (linux/amd64): failed to connect to docker daemon: Could not load X509 key pair: open /usr/local/bin/docker/cert.pem: not a directory
CONDO-090 Github7/emirdeliz-chromedriver ‹main*› »

Command used with act

act --container-architecture linux/amd64

Describe issue

When running the command act --container-architecture linux/amd64 I get the error message.

I tried to remove all content from docker and make the uninstall. But didn't work.

What can be the problem?

No response

Workflow content

name: Linux 64
on: [push]
jobs:
  test:
    runs-on: ubuntu-20.04
    steps:
      - uses: actions/checkout@v3
        with:
          persist-credentials: false
          submodules: recursive

Relevant log output

ERRO[0015] failed to obtain container engine info: failed to connect to docker daemon: Could not load X509 key pair: open /usr/local/bin/docker/cert.pem: not a directory

Additional information

No response

Originally created by @emirdeliz on GitHub (Jan 25, 2023). Original GitHub issue: https://github.com/nektos/act/issues/1583 ### Bug report info ```plain text Default image and other options can be changed manually in ~/.actrc (please refer to https://github.com/nektos/act#configuration for additional information about file structure) Large ERRO[0015] failed to obtain container engine info: failed to connect to docker daemon: Could not load X509 key pair: open /usr/local/bin/docker/cert.pem: not a directory [Linux 64/test] 🚀 Start image=node:16-buster-slim [Linux 64/test] 🐳 docker pull image=node:16-buster-slim platform=linux/amd64 username= forcePull=false Error: unable to determine if image already exists for image 'node:16-buster-slim' (linux/amd64): failed to connect to docker daemon: Could not load X509 key pair: open /usr/local/bin/docker/cert.pem: not a directory CONDO-090 Github7/emirdeliz-chromedriver ‹main*› » ``` ### Command used with act ```sh act --container-architecture linux/amd64 ``` ### Describe issue When running the command act `--container-architecture linux/amd64 ` I get the error message. I tried to remove all content from docker and make the uninstall. But didn't work. What can be the problem? ### Link to GitHub repository _No response_ ### Workflow content ```yml name: Linux 64 on: [push] jobs: test: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v3 with: persist-credentials: false submodules: recursive ``` ### Relevant log output ```sh ERRO[0015] failed to obtain container engine info: failed to connect to docker daemon: Could not load X509 key pair: open /usr/local/bin/docker/cert.pem: not a directory ``` ### Additional information _No response_
kerem 2026-03-01 21:46:26 +03:00
Author
Owner

@github-actions[bot] commented on GitHub (Jul 25, 2023):

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

<!-- gh-comment-id:1648784779 --> @github-actions[bot] commented on GitHub (Jul 25, 2023): Issue is stale and will be closed in 14 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#793
No description provided.