Skip to content

Automatically start Docker service with --no-autostart disable option #651

Automatically start Docker service with --no-autostart disable option

Automatically start Docker service with --no-autostart disable option #651

Workflow file for this run

name: docker-install CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 5
strategy:
matrix:
os:
- ubuntu:22.04
- ubuntu:24.04
- quay.io/centos/centos:stream9
version:
- "27.5"
- ""
steps:
- uses: actions/checkout@v3
- name: Shellcheck
run: make shellcheck
- name: Check distribution
run: TEST_IMAGE=${{ matrix.os }} VERSION=${{ matrix.version }} make test
# This is a separate workflow step, because we need to check it outside of container (due to lsmod, iptables checks)
test-install-rootless:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- name: Install rootless
run: |
sudo sh -c 'echo 0 > /proc/sys/kernel/apparmor_restrict_unprivileged_userns'
FORCE_ROOTLESS_INSTALL=1 ./rootless-install.sh