Skip to content

Commit

Permalink
debug docker res config-7
Browse files Browse the repository at this point in the history
  • Loading branch information
asm582 committed Dec 15, 2023
1 parent 2ff4f37 commit 25e6ec1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/mcad-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
CPUQuota=700%
EOF
new_content='{ "exec-opts": ["native.cgroupdriver=cgroupfs"], "cgroup-parent": "slice.conf" }'
sed -i 's/{ "exec-opts": \["native.cgroupdriver=cgroupfs"\], "cgroup-parent": "\/actions_job" }/'"$new_content"'/' /etc/docker/daemon.json
sudo sed -i 's/{ "exec-opts": \["native.cgroupdriver=cgroupfs"\], "cgroup-parent": "\/actions_job" }/'"$new_content"'/' /etc/docker/daemon.json
cat /etc/docker/daemon.json
systemctl restart docker
- name: checkout code
Expand Down

0 comments on commit 25e6ec1

Please sign in to comment.