[GH-ISSUE #3699] [Bug] docker: Error response from daemon "$HOME/.Xauthority" includes invalid characters for a local volume name #1675

Closed
opened 2026-03-23 21:15:50 +00:00 by mirror · 2 comments
Owner

Originally created by @DevIA05 on GitHub (Oct 14, 2023).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/3699

Bug Description

Hello,
I want to get the application in docker but i get a error when i go the command in documentation: https://docs.appflowy.io/docs/appflowy/install-appflowy/installation-methods/installing-with-docker

How to Reproduce

λ docker run --rm -v $HOME/.Xauthority:/root/.Xauthority:rw -v /tmp/.X11-unix:/tmp/.X11-unix -v /dev/dri:/dev/dri -v /var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket -v appflowy-data:/home/appflowy -e DISPLAY=${DISPLAY} appflowyio/appflowy_client:main
Unable to find image 'appflowyio/appflowy_client:main' locally
main: Pulling from appflowyio/appflowy_client
0a611b669b39: Pull complete
3bc703c4c7b5: Pull complete
1b8c18f2a036: Pull complete
2355471aea10: Pull complete
b9aacc3dbfc3: Pull complete
40eee6a8b919: Pull complete
3ad1a93f09d2: Pull complete
032096586301: Pull complete
4f4fb700ef54: Pull complete
a27d144b1c55: Pull complete
Digest: sha256:eec5c033605f1b97025a6fef42bb3ba2bb46ebd68b4d8302816d4037a1609292
Status: Downloaded newer image for appflowyio/appflowy_client:main
docker: Error response from daemon: create $HOME/.Xauthority: "$HOME/.Xauthority" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed. If you intended to pass a host directory, use absolute path.
See 'docker run --help'.

Expected Behavior

get the image and the container

Operating System

windows

AppFlowy Version(s)

appflowyio/appflowy_client:main

Screenshots

No response

Additional Context

No response

Originally created by @DevIA05 on GitHub (Oct 14, 2023). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/3699 ### Bug Description Hello, I want to get the application in docker but i get a error when i go the command in documentation: https://docs.appflowy.io/docs/appflowy/install-appflowy/installation-methods/installing-with-docker ### How to Reproduce ``` λ docker run --rm -v $HOME/.Xauthority:/root/.Xauthority:rw -v /tmp/.X11-unix:/tmp/.X11-unix -v /dev/dri:/dev/dri -v /var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket -v appflowy-data:/home/appflowy -e DISPLAY=${DISPLAY} appflowyio/appflowy_client:main Unable to find image 'appflowyio/appflowy_client:main' locally main: Pulling from appflowyio/appflowy_client 0a611b669b39: Pull complete 3bc703c4c7b5: Pull complete 1b8c18f2a036: Pull complete 2355471aea10: Pull complete b9aacc3dbfc3: Pull complete 40eee6a8b919: Pull complete 3ad1a93f09d2: Pull complete 032096586301: Pull complete 4f4fb700ef54: Pull complete a27d144b1c55: Pull complete Digest: sha256:eec5c033605f1b97025a6fef42bb3ba2bb46ebd68b4d8302816d4037a1609292 Status: Downloaded newer image for appflowyio/appflowy_client:main docker: Error response from daemon: create $HOME/.Xauthority: "$HOME/.Xauthority" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed. If you intended to pass a host directory, use absolute path. See 'docker run --help'. ``` ### Expected Behavior get the image and the container ### Operating System windows ### AppFlowy Version(s) appflowyio/appflowy_client:main ### Screenshots _No response_ ### Additional Context _No response_
Author
Owner

@AmanNegi commented on GitHub (Oct 17, 2023):

@DevIA05 Please, Add an appropriate title for this issue. The command is built for Ubuntu, however to run this on windows you'll have to make a few changes.

  • Change $Home to your home path C:\Users\John.

If it still doesn't work then you'll need to change the $DISPLAY as well.

<!-- gh-comment-id:1765752882 --> @AmanNegi commented on GitHub (Oct 17, 2023): @DevIA05 Please, Add an appropriate title for this issue. The command is built for Ubuntu, however to run this on windows you'll have to make a few changes. - Change $Home to your home path `C:\Users\John`. If it still doesn't work then you'll need to change the `$DISPLAY` as well.
Author
Owner

@DevaanshPathak commented on GitHub (Oct 18, 2023):

@MayurSMahajan is this issue is solved by @AmanNegi please close it

<!-- gh-comment-id:1767443700 --> @DevaanshPathak commented on GitHub (Oct 18, 2023): @MayurSMahajan is this issue is solved by @AmanNegi please close it
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#1675
No description provided.