Skip to content

fix(dashmate): connect ENOENT /var/run/docker.sock - #967

Merged
shumkov merged 2 commits into
v0.24-devfrom
fix/dashmate_docker_socket_path
Apr 24, 2023
Merged

fix(dashmate): connect ENOENT /var/run/docker.sock#967
shumkov merged 2 commits into
v0.24-devfrom
fix/dashmate_docker_socket_path

Conversation

@shuplenkov

@shuplenkov shuplenkov commented Apr 24, 2023

Copy link
Copy Markdown

Issue being fixed or feature implemented

If docker uses non-default context (e.g. in docker-desktop for linux), dashmate throws fatal error: connect ENOENT /var/run/docker.sock

What was done?

Now at the start, we are trying to find out from the docker its current socket path and use it instead of the default one.

How Has This Been Tested?

Manual

Breaking Changes

No

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have made corresponding changes to the documentation

For repository code-owners and collaborators only

  • I have assigned this pull request to a milestone

@shuplenkov shuplenkov added this to the v0.24.0 milestone Apr 24, 2023
Comment thread packages/dashmate/src/docker/resolveDockerSocketPath.js
@shuplenkov shuplenkov changed the title fix(dashamte): ability to work with non-default docker socket path fix(dashmate): ability to work with non-default docker socket path Apr 24, 2023

@shumkov shumkov left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@shumkov
shumkov merged commit fe16e53 into v0.24-dev Apr 24, 2023
@shumkov
shumkov deleted the fix/dashmate_docker_socket_path branch April 24, 2023 15:35
@shumkov shumkov changed the title fix(dashmate): ability to work with non-default docker socket path fix(dashmate): connect ENOENT /var/run/docker.sock Apr 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants