Skip to content

Can't start because X11 isn't present? #138

Open
@a12l

Description

@a12l

I'm trying to get an interactive session with GHC on my virtual machine hosting FreeBSD 14.1. I'm using sysutils/podman-suite from FreeBSD's ports to run OCI containers, and the Haskell images is the first to cause any problem. There's no problem running Debian slim, so there's something in the Dockerfile here that's causing the problem.

The following terminal (manual) transcript is from my FreeBSD VM running on Hyper-V

# podman run -it --rm --os=linux docker.io/haskell:9.10-slim-bullseye
[Usual blob fetching]
Error: copying system image from manifest list: writing blob: adding layer with blob "sha256:79c0c33664058[...]": ApplyLayer stdout: stderr: faccessat /etc/X11: invalid argument exit status 1

# podman run -it --rm --os=linux docker.io/debian:bullseye-slim /bin/echo "Hello from Debian"
[Usual blob fetching]
Hello from Debian

And there's no problem getting GHCi up and running on my NixOS 24.04 system in a container

# podman run -it --rm docker.io/haskell:9.10-slim-bullseye
[Blobs, manifests, etc.]
GHCi, version 9.10.1: https://www.haskell.org/ghc/  :? for help
ghci>

I'm running Podman as root on both systems.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions