Skip to content

root direcrory has lost+found of Docker Image #49

@Alicey0719

Description

@Alicey0719

Question

There is a lost+found file in the root directory. Is this intended?

State

  • rocky9.3
[alicey@a-dev01 ~]$ docker run -it --entrypoint bash rockylinux:9.3
Unable to find image 'rockylinux:9.3' locally
9.3: Pulling from library/rockylinux
489e1be6ce56: Pull complete
Digest: sha256:c944604c0c759f5d164ffbdf0bbab2fac582b739938937403c067ab634a0518a
Status: Downloaded newer image for rockylinux:9.3
[root@6078ab66f1be /]# ls -al
total 4
drwxr-xr-x   1 root root    6 Mar 11 13:23 .
drwxr-xr-x   1 root root    6 Mar 11 13:23 ..
-rwxr-xr-x   1 root root    0 Mar 11 13:23 .dockerenv
dr-xr-xr-x   2 root root    6 May 16  2022 afs
lrwxrwxrwx   1 root root    7 May 16  2022 bin -> usr/bin
drwxr-xr-x   5 root root  360 Mar 11 13:23 dev
drwxr-xr-x   1 root root   66 Mar 11 13:23 etc
drwxr-xr-x   2 root root    6 May 16  2022 home
lrwxrwxrwx   1 root root    7 May 16  2022 lib -> usr/lib
lrwxrwxrwx   1 root root    9 May 16  2022 lib64 -> usr/lib64
drwx------   2 root root    6 Nov 19 22:25 lost+found
drwxr-xr-x   2 root root    6 May 16  2022 media
drwxr-xr-x   2 root root    6 May 16  2022 mnt
drwxr-xr-x   2 root root    6 May 16  2022 opt
dr-xr-xr-x 289 root root    0 Mar 11 13:23 proc
dr-xr-x---   2 root root  162 Nov 19 22:25 root
drwxr-xr-x   2 root root    6 Nov 19 22:25 run
lrwxrwxrwx   1 root root    8 May 16  2022 sbin -> usr/sbin
drwxr-xr-x   2 root root    6 May 16  2022 srv
dr-xr-xr-x  13 root root    0 Mar 11 13:23 sys
drwxrwxrwt   2 root root    6 Nov 19 22:25 tmp
drwxr-xr-x  12 root root  144 Nov 19 22:25 usr
drwxr-xr-x  18 root root 4096 Nov 19 22:25 var
  • rocky8.9
[alicey@a-dev01 ~]$ docker run -it --entrypoint bash rockylinux:8.9
Unable to find image 'rockylinux:8.9' locally
8.9: Pulling from library/rockylinux
7ecefaa6bd84: Pull complete
Digest: sha256:c464612ef7e3d54d658c3eaa4778b5cdc990ec7a4d9ab63b0f00c9994c6ce980
Status: Downloaded newer image for rockylinux:8.9
[root@7c1e87788061 /]# ls -al
total 4
drwxr-xr-x   1 root root    6 Mar 11 13:24 .
drwxr-xr-x   1 root root    6 Mar 11 13:24 ..
-rwxr-xr-x   1 root root    0 Mar 11 13:24 .dockerenv
lrwxrwxrwx   1 root root    7 Oct 11  2021 bin -> usr/bin
drwxr-xr-x   5 root root  360 Mar 11 13:24 dev
drwxr-xr-x   1 root root   66 Mar 11 13:24 etc
drwxr-xr-x   2 root root    6 Oct 11  2021 home
lrwxrwxrwx   1 root root    7 Oct 11  2021 lib -> usr/lib
lrwxrwxrwx   1 root root    9 Oct 11  2021 lib64 -> usr/lib64
drwx------   2 root root    6 Nov 19 15:50 lost+found
drwxr-xr-x   2 root root    6 Oct 11  2021 media
drwxr-xr-x   2 root root    6 Oct 11  2021 mnt
drwxr-xr-x   2 root root    6 Oct 11  2021 opt
dr-xr-xr-x 300 root root    0 Mar 11 13:24 proc
dr-xr-x---   2 root root  162 Nov 19 15:51 root
drwxr-xr-x  12 root root  177 Nov 19 15:51 run
lrwxrwxrwx   1 root root    8 Oct 11  2021 sbin -> usr/sbin
drwxr-xr-x   2 root root    6 Oct 11  2021 srv
dr-xr-xr-x  13 root root    0 Mar 11 13:24 sys
drwxrwxrwt   2 root root   58 Nov 19 15:51 tmp
drwxr-xr-x  12 root root  144 Nov 19 15:50 usr
drwxr-xr-x  19 root root 4096 Nov 19 15:50 var

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions