redthing1/mim: integrated mini-linux in podman. inspired by distrobox.

Klenance
1 Min Read

well-integrated mini-machines; a portable linux that has all your data dirs mounted. inspired by distrobox and powered by podman.

sometimes, i want a linux terminal development environment on macos, and i want all my data magically linked in. so that i can cd to a source directory and seamlessly build it.

with the power of containers, we can do just that. we run a linux userspace of our choice (fully customizable by a dockerfile), and mount in all our directories.

mim makes the above super easy. just build a machine image, create a container, then run mim shell and you’re in!

should be all good to go

ensure podman machine is initialized as such:

podman machine init --volume /Users --volume /Volumes
podman machine stop && ulimit -n unlimited && podman machine start
mim build -f ./demo/mim_fed.docker -n mim_fed
mim create -n mim_fed -H ~/Downloads

open a shell in a mimchine

mim destroy -c mim_fed -f

Source link

Share This Article
Leave a comment

Leave a Reply

Your email address will not be published. Required fields are marked *