Skip to content

Direct access to containerd socket? #1275

Answered by jandubois
deitch asked this question in Q&A
Discussion options

You must be logged in to vote

There is nothing magical about it; you can just forward it from the VM to the host, the same way the docker example does it:

portForwards:
- guestSocket: "/run/user/{{.UID}}/docker.sock"
hostSocket: "{{.Dir}}/sock/docker.sock"

Keep in mind though that not all operations can be performed over the socket, but might need direct access to the storage layer (e.g. nerdctl build).

Replies: 1 comment 18 replies

Comment options

You must be logged in to vote
18 replies
@jandubois
Comment options

@deitch
Comment options

@deitch
Comment options

@jandubois
Comment options

@deitch
Comment options

Answer selected by AkihiroSuda
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #1274 on January 03, 2023 21:00.