Elixir and Erlang installation?

You know what?
I think I know what happens.

The distrobox is succsfully built but the distrobox command is associated with podman as a container manager.

DBX_CONTAINER_MANAGER=docker distrobox list
ID           | NAME                 | STATUS             | IMAGE                         
ab5fc65b5045 | fedora-elixir-dx     | Up 3 minutes       | fedora-elixir-dx:latest       

1 Like

Any way to change the default container manager on my host?

Like : export DBX_CONTAINER_MANAGER=docker in .bashrc ?

1 Like

That will work. There is also a few config file locations for setting it as well.

1 Like

I add export DBX_CONTAINER_MANAGER=docker to my .bashrc script.

Good catch!

Be careful with that setting if you use podman as well though.

I do. I am a container junky. Having both docker and podman gives me separate namespaces for dev stuff (docker) vs system stuff (podman) where I need stability.

That frees me up to do docker system prune -af at any time without disturbing my “system”.

I have updated the README.md with what I have learned from our interaction.

Thanks for the feedback!

2 Likes

It’s working with the entry in the .bashrc, but other ‘system’ podman boxes that uses exported binaries are broken now…

For the resolved matter, I’ll create an issue to the repo, if you’d like..
Also I need to ask some things about the .devcontainers. :slight_smile:

1 Like

Yeah, let’s continue this in the repo.

Thanks, this is what I ended-up doing.
I didn’t use the exact fedora version (fedora-toolbox is 42 and I’m running 41) but I exported all relevant binaries to the host and everything works.

Thanks!

Edit: If anyone wants this I could share the whole procedure to get this to work.

Keep in mind the repo I published is just a SAMPLE. Expect to do some re-coding. It is not meant to be a general solution for the masses.

The ideas should be portable though.

Also, I have ported ocisictl to python. the shell script implementation was starting to get unwieldly; it reached a point where a general purpose language was needed.

I have kept the shell implementation in a branch called ocisictl-shell. I won’t be spending anymore time on it; but the branch will stay.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.