-
Notifications
You must be signed in to change notification settings - Fork 379
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MSYS2 issue: startup failure and no logfile #225
Comments
I tried to copy the generated command as is, but it seems that paths need to be escaped:
So, |
x11docker runs
I've added an option If that does not give anything useful, x11docker could be started with |
Ok. With this, I get the expected but unwanted error: # export MSYS2_ARG_CONV_EXCL='*'
# docker run --tty --rm --detach \
> --name x11docker_X3178_x11docker-xfce-xfce4-terminal_11809315510 \
> --user 197609:197121 \
> --env USER=eine \
> --userns host \
> --cap-drop ALL \
> --security-opt no-new-privileges \
> --security-opt label=type:container_runtime_t \
> --init \
> --tmpfs /run --tmpfs /run/lock \
> --volume '/c/msys64//home/eine/.cache/x11docker/x11docker-xfce-xfce4-terminal-11809315510/share':'/x11docker':rw \
> --workdir '/tmp' \
> --entrypoint env \
> --env 'container=docker' \
> --env 'XAUTHORITY=/x11docker/Xauthority.client' \
> --env 'DISPLAY=10.0.75.1:3178' \
> --env 'XDG_RUNTIME_DIR=/tmp/XDG_RUNTIME_DIR' \
> -- x11docker/xfce /bin/sh - /x11docker/containerrc
C:\Program Files\Docker\Docker\resources\bin\docker.exe: Error response from daemon: file does not exist.
See 'C:\Program Files\Docker\Docker\resources\bin\docker.exe run --help'. Actually, replacing |
Great news! I did a fix for this. Hopefully there will be no missing To verify: Does |
It works! I tried both syntaxes, and both are correct now. At the same time,
It does: # MSYS2
# cygpath.exe -u "c:/"
/c/
# Cygwin
$ cygpath.exe -u "c:/"
/cygdrive/c/ |
What a relief! At first it looked like a much bigger issue. |
Coming from #219:
Short summary:
In MSYS2 x11docker fails to start the container.
Command:
Error message:
Generated docker command:
Latest x11docker master does not give a logile in
~/.cache/x11docker
.The text was updated successfully, but these errors were encountered: