Helping <@U0B0582742D> troubleshoot their errors :...
# proj-agent-canvas
g
Helping @creamy-state-40879 troubleshoot their errors 🧵
If you feel comfortable, please share the errors you are receiving.
Also can you please share the command you are executing
The current readme is incomplete but you should have docker installed on your machine. Docker desktop is fine if you don't want to do through command line.
Also i don't know fi you are windows or mac, but the command for windows will be different
For Windows:
Copy code
docker pull ghcr.io/openhands/agent-canvas:1.0.0-alpha.9

$projectsPath = Join-Path $HOME "projects"  # directory containing your project folders
$statePath = Join-Path $HOME ".openhands"

docker run -it --rm `
  -p 8000:8000 `
  -v "${statePath}:/home/openhands/.openhands" `
  -v "${projectsPath}:/projects" `
  ghcr.io/openhands/agent-canvas:1.0.0-alpha.9
For Mac:
Copy code
docker pull ghcr.io/openhands/agent-canvas:1.0.0-alpha.9

export PROJECTS_PATH=~/projects  # directory containing your project folders

docker run -it --rm \
  -p 8000:8000 \
  -v ~/.openhands:/home/openhands/.openhands \
  -v ${PROJECTS_PATH}:/projects \
  ghcr.io/openhands/agent-canvas:1.0.0-alpha.9
Finally, the number after
alpha.
must be current. Based on the current readme it is
9
Once you confirm you are on the latest docker, and make sure to run the latest image, please let me know if you run into other errors thankyou
c
@gentle-apple-32922 this is the command i used: docker pull ghcr.io/openhands/agent-canvas:1.0.0-alpha.9 export PROJECTS_PATH=~/projects # directory containing your project folders docker run -it --rm \ -p 8000:8000 \ -v ~/.openhands:/home/openhands/.openhands \ -v ${PROJECTS_PATH}:/projects \ ghcr.io/openhands/agent-canvas:1.0.0-alpha.9
my docker is on the latest version
i didn't see that windows command on the main page
this is the output from the windows command: leezo@DESKTOP-4EUQNQ6:~$ docker pull ghcr.io/openhands/agent-canvas:1.0.0-alpha.9 jectsPath = Join-Path $HOME "projects" # directory containing your project folders $statePath = Join-Path $HOME ".openhands" docker run -it --rm
Copy code
-p 8000:8000
-v "${statePath}:/home/openhands/.openhands"
Copy code
-v "${projectsPath}:/projects"
ghcr.io/openhands/agent-canvas:1.0.0-alpha.91.0.0-alpha.9: Pulling from openhands/agent-canvas Digest: sha256:c731f73e46ff8ce8fb390903c9a7fd27b9b294015a80f30a7154284b23d6ce31 Status: Image is up to date for ghcr.io/openhands/agent-canvas:1.0.0-alpha.9 ghcr.io/openhands/agent-canvas:1.0.0-alpha.9 leezo@DESKTOP-4EUQNQ6:~$ leezo@DESKTOP-4EUQNQ6:~$ $projectsPath = Join-Path $HOME "projects" # directory containing your project folders =: command not found leezo@DESKTOP-4EUQNQ6:~$ $statePath = Join-Path $HOME ".openhands" =: command not found leezo@DESKTOP-4EUQNQ6:~$ leezo@DESKTOP-4EUQNQ6:~$ docker run -it --rm
Copy code
>   -p 8000:8000
-p: command not found docker: 'docker run' requires at least 1 argument Usage: docker run [OPTIONS] IMAGE [COMMAND] [ARG...] See 'docker run --help' for more information leezo@DESKTOP-4EUQNQ6:~$ -v "${statePath}:/home/openhands/.openhands"
Copy code
>   -v "${projectsPath}:/projects"
-v: command not found -v: command not found leezo@DESKTOP-4EUQNQ6:~$ ghcr.io/openhands/agent-canvas:1.0.0-alpha.9 -bash: ghcr.io/openhands/agent-canvas:1.0.0-alpha.9: No such file or directory
here is the output from the other command