Skip to content

'toolbox enter' | message "Error: container <container_name> not found" #1818

Description

@Ricky-Tigg
  • toolbox v. 0.3
  • host: Fedora 44

Description

Hello. The non-existence of a container corresponding to the host's Linux distribution and version is a valid state. Therefore, reporting this state as an error is inappropriate.

Steps to reproduce the behaviour

  1. Run 'toolbox create -y --release 45'.
  2. Ensure that the container fedora-toolbox-44 does not exist.
$ toolbox list -c
[...]  CONTAINER NAME     [...]  STATUS   [...]
[...]  fedora-toolbox-45  [...]  created  [...]
  1. See the error message.
$ toolbox enter
Error: container fedora-toolbox-44 not found
Entering container fedora-toolbox-45 instead.
Use the 'create' command to create a different Toolbx.
Run 'toolbox --help' for usage

Expected behaviour

A message in output such as "Container fedora-toolbox-44 not found/does not exist." would be appropriate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    1. BugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions