Containers are typically managed by having each container chroot to its own subdirectory of the host filesystem. This leads to problems like journal bottlenecks and inefficient small file I/O. The proposed solution is to manage each container's filesystem within a virtual block device represented by a file (container-in-a-file). This avoids journal bottlenecks and allows efficient operations like backup, migration and snapshots through copy-on-write images. It provides flexibility in filesystem choice and management while solving storage and I/O issues. Future work includes optimizing the design and integrating it into the Linux kernel.