Skip to content

Commit

Permalink
patch docker
Browse files Browse the repository at this point in the history
  • Loading branch information
akasona committed Nov 21, 2024
1 parent 2ec1303 commit 58b6eb3
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,11 @@ jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- run: sudo cat /etc/default/docker
- run: sudo cat /lib/systemd/system/docker.service
- run: sudo systemctl status docker
- run: df -h
- run: jq '."data-root" = "/mnt/docker"' < /etc/docker/daemon.json | tee daemon.json.tmp
- run: sudo mkdir -p /mnt/docker
- run: sudo cp daemon.json.tmp /etc/docker/daemon.json
- run: sudo systemctl restart docker
- run: sudo systemctl stop docker
- run: sudo mkdir -p /etc/systemd/system/docker.service.d
- run: sudo ls -l /etc/systemd/system/docker.service.d
- run: sudo cat /etc/docker/daemon.json
- run: sudo systemctl daemon-reload
- run: sudo systemctl restart docker
- run: sudo systemctl status docker
- run: sudo systemctl show docker
- run: sudo du -h /mnt/docker


0 comments on commit 58b6eb3

Please sign in to comment.