LoginSignup
0
0

diskいっぱいでdocker error

Last updated at Posted at 2021-04-20

pytermextract 導入失敗したかと思ったら全部入れろってことだった。けどpush失敗。
https://qiita.com/kaizen_nagoya/items/2531d78e04cddb49a058

dockerのエラーの部分だけ抜き書きと、その後の対応。

$ docker commit 75aa2a1ec996 kaizenjapan/pytermextract
Error response from daemon: open /var/lib/docker/image/overlay2/layerdb/tmp/write-set-689207880/diff: structure needs cleaning
$ docker commit 75aa2a1ec996 kaizenjapan/pytermextract
Error response from daemon: sync /var/lib/docker/image/overlay2/layerdb/tmp/write-set-264421675/diff: input/output error
$ df -k
Filesystem    1024-blocks      Used Available Capacity iused               ifree %iused  Mounted on
/dev/disk1s1    244912536 237909252     30404   100% 2478631 9223372036852297176    0%   /
devfs                 333       333         0   100%    1156                   0  100%   /dev
/dev/disk1s4    244912536   6295312     30404   100%       6 9223372036854775801    0%   /private/var/vm
map -hosts              0         0         0   100%       0                   0  100%   /net
map auto_home           0         0         0   100%       0                   0  100%   /home

$ docker commit 8c41f9280ca6 kaizenjapan/autosar3
Error response from daemon: Error processing tar file(exit status 1): mkdir /home/autosar/19-11/autosar_latest/classic: structure needs cleaning

弱り目にたたり目

bash
# rm *
rm: cannot remove 'AI.pdf': Read-only file system
# sudo chmod 07ff *
bash: sudo: command not found
# apt install sudo
Reading package lists... Error!
W: Not using locking for read only lock file /var/lib/dpkg/lock-frontend
W: Not using locking for read only lock file /var/lib/dpkg/lock
E: Couldn't create temporary file to work with /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_bionic_InRelease - mkstemp (30: Read-only file system)
E: The package lists or status file could not be parsed or opened.

$ docker commit 75aa2a1ec996 kaizenjapan/pytermextract
Error response from daemon: mkdir /var/lib/docker/overlay2/7d2d8b08f34def20e64763ae086a0f78392759a069c1a1aa7148ce29675c1c8a: read-only file system

一旦システム終了しようとしたら、こんな初めてのエラーがでてた。
docker-error-big.png

最後までおよみいただきありがとうございました。

いいね 💚、フォローをお願いします。

Thank you very much for reading to the last sentence.

Please press the like icon 💚 and follow me for your happy life.

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0