For what it's worth, kicad seems to work for me in a container.
I'm using Guix System with GNOME (guix 4716cea):
__________
guix shell kicad -E "^DISPLAY$" -E "^XAUTHORITY$"
--expose="$XAUTHORITY"
--expose=/tmp/.X11-unix/ --expose=$HOME/.Xauthority
--expose=/etc/machine-id
--expose=$HOME/Descargas --expose=/tmp/dbus-fnAz1hb4to
‾‾‾‾‾‾‾‾‾‾
Thanks! Although when I try this, I still get the warning about
failing to connect to the accessibility bus and I still get the
gdk-pixbuf-error.
What are the last two directories that you are exposing? Is the
first just your home directory or is it some kicad specific
directory in your home directory? How do you find the name of the
second directory and is that for the accessibility bus or
something else?