Containers within same pod share network namespace and IPC namespace but they have separate mount namespace and filesystem. Hence we use volumes for sharing mounts.
https://stackoverflow.com/questions/62228843/does-every-container-in-same-pod-has-independent-file-system