Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding kind support #20

Merged
merged 1 commit into from
Jan 6, 2021
Merged

Conversation

macagr
Copy link
Contributor

@macagr macagr commented Jan 6, 2021

Adding kind support exposes the host docker.sock file. Thus, you will see the containers running in the host, not on the cluster node. It works for educational purposes. The idea is to use a docker socket in the host to emulate the, possibly exposed, docker socket in the node that runs on the cluster. This let us use the same attack vector as in the walkthrough for the Kubernetes GOAT.

… thus, you will see the containers running in the host, not on the cluster node. It works for educational purposes.
@madhuakula madhuakula merged commit 35080a2 into madhuakula:master Jan 6, 2021
@madhuakula
Copy link
Owner

Hey @macagr,

Awesome. Thanks a ton!

Tested, looks like it's working perfectly. As we are just showcasing this to teach for educational purposes, it makes sense even if we are showcasing with host system docker socket.

Screenshot 2021-01-06 at 22 23 12

Screenshot 2021-01-06 at 22 25 37

Thank you so much once again and I really appreciate it 👏

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