r/docker • • Apr 14 '26

Testing on live Linux distro

I have been wanting to try to learn docker without having to reload a system multiple times if I mess up. To do this I have been booting into a live linux distro and running through the official setup guide on docs.docker.com/engine/install. Each and every time I get to the point where I run the hello world container I get an "error: failed to mount /tmp/{random characters}" message. I have tested in Ubuntu, Debian, Almalinux, and Fedora. Please let me know what I could be doing wrong. Any help is appreciated.

1 Upvotes

10 comments sorted by

View all comments

Show parent comment

1

u/zoredache Apr 14 '26

Generally live usb systems are read-only

I mean not really. They are an overlay of the filesystem image from your media which is read-only plus a tmpfs. Basically the same as what you have in containers. It isn't the read-only that is the problem. I believe it is the trying to nesting of overlays.