Skip to content

Instantly share code, notes, and snippets.

View levonet's full-sized avatar
🇺🇦
Stand with Ukraine

Pavlo Bashynskyi levonet

🇺🇦
Stand with Ukraine
  • BlaBlaCar
  • Crimea, Ukraine
View GitHub Profile
@mastermatt
mastermatt / semaphore.py
Last active September 21, 2021 07:31
Consul Semaphore in Python
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import datetime
import json
import logging
import os
import socket
import time
loki:
config:
auth_enabled: false
ingester:
lifecycler:
address: 127.0.0.1
ring:
kvstore:
store: inmemory
replication_factor: 1
@tyv
tyv / kyivlaw.md
Last active October 7, 2019 08:32

ПРОЕКТ

вноситься народними депутати України

  • Ткаченко Олександр Владиславович
  • Гурін Дмитро Олександрович
  • Бондар Ганна Вячеславівна
  • Арахамія Давид Георгійович
  • Корнієнко Олександр Сергійович

Docker in Docker (rootless) - Audit

This is just a quick test to see if we can jailbreak rootless Docker-in-Docker.

The pod we're using has 2 containers, one that runs the daemon, and one that keeps the user separated from the privileged pod completely.

We have created deploy.yaml and we have dind-rootless running.

$ kubectl get pods
NAME                             READY   STATUS    RESTARTS   AGE
dind-rootless-5ddddf649b-sk9bv   2/2     Running   0          106s