Skip to content

[Bug]: Hostname should not be a FQDN if the container name is. #1011

Closed

Description

@jglogan

I have done the following

  • I have searched the existing issues
  • If possible, I've reproduced the issue using the 'main' branch of this project

Steps to reproduce

The hostname for a container with ID foo.test should be foo, not foo.test.

Current behavior

% container run --name foo.test -it --rm alpine hostname
foo.test

Expected behavior

% container run --name foo.test -it --rm alpine hostname
foo

Environment

- OS: 26
- Xcode: 26
- Container: main

Relevant log output

N/A

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions