To specify a customized docker socket address in k3d, you can use the K3S_EXTRA_ARGS
environment variable along with the K3S_KUBECONFIG_MODE=777
option. For example:
export K3S_EXTRA_ARGS="--docker --docker.endpoint=unix:///path/to/custom/docker.sock"
k3d cluster create mycluster --k3s-server-arg $K3S_EXTRA_ARGS --k3s-server-env K3S_KUBECONFIG_MODE=777
This will create a new k3d cluster named mycluster
with k3s server configuration that includes the specified customized docker socket endpoint.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2023-05-16 18:51:07 +0000
Seen: 16 times
Last updated: May 16 '23
What is a WordPress web address that includes a system of hierarchical taxonomies?
How to address NPM vulnerabilities?
How can actual IP be utilized to establish connectivity between WSL2 and the host?
How to locate the server address that is the destination for gRPC requests?
The stacktrace appears to be incomplete when using clang address sanitizer.
How to establish a connection between Ionic BLE and a device's Mac Address on iOS?
Can the https address be utilized via the --urls parameter in the Web API Service?