So if I need throw-away linux environments, I usually use docker or better podman but when the need arises to run docker, doing so inside of docker or podman is not easy.

What is the easiest way to drop into a shell on a VM that works like any VPS of your random web hoster would?

Reply to this note

Please Login to reply.

Discussion

You could use #nix o #guix, if you really need a VM that you can destroy later try https://www.vagrantup.com/

not sure if I understand your need right, but if I need a throw-away linux i use a lxd container. they are more like real linux vm‘s.

https://linuxcontainers.org/lxd/

Trying first steps with qemu. Really quite cumbersome compared to docker/podman where I can just name an os and version and the rest magically happens like so: `podman run -it --rm --volume=$PWD:/bla/ --workdir /bla/ docker.io/ubuntu:20.04 bash`

I see lxd looks more like podman than qemu. Interesting.