Skip to content

Linux personality (reported ex. via uname -m) is wrong #1

@remram44

Description

@remram44

Cf docker-32bit/ubuntu#12

You only have to set ENTRYPOINT ["linux32", "--"] to fix this.

Right now I use my own Dockerfile on top of yours:

FROM ioft/i386-ubuntu:14.04.3
ENTRYPOINT ["linux32", "--"]

Test:

$ docker run -ti --rm ioft/i386-ubuntu:14.04.3 uname -m
x86_64
$ docker build -t ubuntu32 - <Dockerfile
$ docker run -ti --rm ubuntu32 uname -m
i686

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions