Skip to content

Instantly share code, notes, and snippets.

View yoctozepto's full-sized avatar

Radosław Piliszek yoctozepto

  • 7bulls.com
  • Poland
View GitHub Profile
@yoctozepto
yoctozepto / docker-shared-bind-mounts-bug.sh
Created January 20, 2022 12:47
Docker shared bind mounts bug reproducer
#!/bin/bash
# possible Docker bug when doing nested shared bind mounts
# happens since at least Docker 17.10 (could be earlier)
# currently tested with Docker 20.10.5
# see also https://bugs.launchpad.net/kolla-ansible/+bug/1783978
# the formula below is built this way: (origin mounts)+(submounts)=(total)
# the behaviour described below is observed both on container recreation
@yoctozepto
yoctozepto / gerrit_3_zuul_status.user.js
Last active December 6, 2020 16:38
Gerrit 3 Zuul Status
// Copyright 2018 Michel Peterson
// Copyright 2019-2020 Radosław Piliszek
// Copyright 2020 Balazs Gibizer
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
@yoctozepto
yoctozepto / ansible#22579 workaround.yml
Last active February 1, 2021 09:02
ansible#22579 workaround
---
### For details see https://github.com/ansible/ansible/issues/22579
### BEFORE
---
- name: Check freezer containers
become: true