github.com/adityamillind98/moby@v23.0.0-rc.4+incompatible/.github/actions/setup-runner/action.yml (about)

     1  name: 'Setup Runner'
     2  description: 'Composite action to set up the GitHub Runner for jobs in the test.yml workflow'
     3  
     4  runs:
     5    using: composite
     6    steps:
     7      - run: |
     8          sudo modprobe ip_vs
     9          sudo modprobe ipv6
    10          sudo modprobe ip6table_filter
    11          sudo modprobe -r overlay
    12          sudo modprobe overlay redirect_dir=off
    13        shell: bash
    14      - run: |
    15          if [ ! -e /etc/docker/daemon.json ]; then
    16           echo '{}' | tee /etc/docker/daemon.json >/dev/null
    17          fi
    18          DOCKERD_CONFIG=$(jq '.+{"experimental":true,"live-restore":true,"ipv6":true,"fixed-cidr-v6":"2001:db8:1::/64"}' /etc/docker/daemon.json)
    19          sudo tee /etc/docker/daemon.json <<<"$DOCKERD_CONFIG" >/dev/null
    20          sudo service docker restart
    21        shell: bash
    22      - run: |
    23          ./contrib/check-config.sh || true
    24        shell: bash
    25      - run: |
    26          docker info
    27        shell: bash