Avoid 'create' when entering non-existent container #1547
findurance
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How to avoid creating a container, when
distrobox enter
command executed, but the container does not exist?The default behavior now seems to be creating a new container according to distrobox.conf, which is actually rather clumsy as a default action.
In that regard, there should be a
--create-if-not-existing
-type of flag instead to trigger the creation in this case. Especially since there seems to be no obvious way to check if a particular container exists.Now the default behavior induces creation of unnecessary containers, when for example typoing a container name.
Beta Was this translation helpful? Give feedback.
All reactions