Debug with busybox. #1464
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and test FreeIPA containers | |
on: | |
push: | |
workflow_dispatch: | |
jobs: | |
test-docker-rootless: | |
name: Run with docker | |
runs-on: ubuntu-22.04 | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Docker in rootless mode. | |
uses: ScribeMD/rootless-docker@0.2.2 | |
- run: sudo mkdir -p /etc/systemd/system/user@.service.d | |
- run: ( echo '[Service]' ; echo 'Delegate=cpu cpuset io memory pids' ) | sudo tee /etc/systemd/system/user@.service.d/delegate.conf | |
- run: sudo systemctl daemon-reload | |
- run: systemd-cgls | |
- run: cat /proc/self/cgroup | |
- run: id ; cat /etc/subuid | |
- run: docker info | |
- run: cat /sys/fs/cgroup/user.slice/user-$(id -u).slice/user@$(id -u).service/cgroup.controllers | |
- run: docker run --rm busybox cat /proc/self/uid_map | |
- run: docker run --rm busybox mount | |
- run: docker run --rm busybox cat /proc/self/cgroup |