moby/.github
Sebastiaan van Stijn d8bc5828cd
gha: Setup Runner: add missing sudo
I think this may be missing a sudo (as all other operations do use
sudo to access daemon.json);

    Run if [ ! -e /etc/docker/daemon.json ]; then
      if [ ! -e /etc/docker/daemon.json ]; then
       echo '{}' | tee /etc/docker/daemon.json >/dev/null
      fi
      DOCKERD_CONFIG=$(jq '.+{"experimental":true,"live-restore":true,"ipv6":true,"fixed-cidr-v6":"2001:db8:1::/64"}' /etc/docker/daemon.json)
      sudo tee /etc/docker/daemon.json <<<"$DOCKERD_CONFIG" >/dev/null
      sudo service docker restart
      shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
      env:
        GO_VERSION: 1.20.5
        GOTESTLIST_VERSION: v0.3.1
        TESTSTAT_VERSION: v0.1.3
        ITG_CLI_MATRIX_SIZE: 6
        DOCKER_EXPERIMENTAL: 1
        DOCKER_GRAPHDRIVER: overlay2
    tee: /etc/docker/daemon.json: Permission denied
    Error: Process completed with exit code 1.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-06-27 14:53:54 +02:00
..
actions/setup-runner gha: Setup Runner: add missing sudo 2023-06-27 14:53:54 +02:00
ISSUE_TEMPLATE Add github issue forms 2022-07-06 18:16:53 +00:00
workflows Revert "Temporarily skip DCO check" 2023-06-27 10:30:34 +02:00
CODEOWNERS remove deprecated devicemapper storage-driver 2023-04-20 23:51:54 +02:00
PULL_REQUEST_TEMPLATE.md Rename a few docker to moby 2017-10-25 13:56:12 +02:00