Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

feat(cli): add socket-path flag to runner install #4246

Merged

Conversation

Codelax
Copy link
Contributor

@Codelax Codelax commented Nov 30, 2022

Add a socket-path flag to waypoint runner install, this allows to override the socket that will be bound using volume when creating the runner.
The issue is that docker socket may not be /var/run/docker.sock on the server that will host the runner, this would be in another place when running rootless docker for example.
This also helps greatly to start runners when using podman (ref: #3781).

@hashicorp-cla
Copy link

hashicorp-cla commented Nov 30, 2022

CLA assistant check
All committers have signed the CLA.

@vercel
Copy link

vercel bot commented Dec 6, 2022

@Codelax is attempting to deploy a commit to the HashiCorp Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Contributor

@paladin-devops paladin-devops left a comment

Choose a reason for hiding this comment

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

Looks good to me! Tried this with the flag used and without, both worked. 😄

$ waypoint runner install -platform=docker -server-addr=<ADDR> -server-tls-skip-verify=true -server-tls=true
$ waypoint runner install -platform=docker -docker-socket-path=/var/run/docker.sock -server-addr=<ADDR> -server-tls-skip-verify=true -server-tls=true

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants