You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But once I closed that container and reran I can't seem to make streamlit app work for me.
I've been trying to set up the Computer Use Demo using Docker, but I'm unable to access the Streamlit interfaces. I've tried several approaches, including using proxies and direct access, but nothing seems to work. Below are the details of what I've attempted:
Updated index.html to use host.docker.internal because I am on a mac machine
. Docker Port Mapping:
Verified that ports 8501, 6080, and 8080 are exposed in Docker.
Streamlit Configuration:
Ensured Streamlit is configured to allow connections:
Checked and manipulated entry point script to make sure that streamlit actually starts
#!/bin/bash
set -e
./start_all.sh
./novnc_startup.sh
python http_server.py > /tmp/server_logs.txt 2>&1 &
STREAMLIT_SERVER_PORT=8501 python -m streamlit run computer_use_demo/streamlit.py > /tmp/streamlit_stdout.log &
echo "🚀 Starting Streamlit on port 8501..."
echo "✨ Computer Use Demo is ready!"
echo "➡️ Open http://localhost:8080 in your browser to begin"
# Keep the container running
tail -f /dev/null
NOTE Streamlit responds within the container itself but its only when I try to connect to it from outside the container that everything fails
I have tried everything standard like restarting containers, checking docker logs running the docker build locally, tweaking host ip and many other related ideas. Any help is welcome at this point @chrisgorgo@x5a
The text was updated successfully, but these errors were encountered:
pi@πlocal ~/code/anthropic-quickstarts/computer-use-demo
> ./run.sh --image d2 --container d2
bla bla
Xvfb started successfully on display :1
Xvfb PID: 13
starting tint2 on display :1 ...
starting mutter
starting vnc
starting noVNC
noVNC started successfully
^ are you getting all of these?
✨ Computer Use Demo is ready!
➡️ Open http://localhost:8080 in your browser to begin
It should work out of the box on macOS.
Ah, unless there's some port-used problem -- does #147 help?
I originally faced it here #41
But once I closed that container and reran I can't seem to make streamlit app work for me.
I've been trying to set up the Computer Use Demo using Docker, but I'm unable to access the Streamlit interfaces. I've tried several approaches, including using proxies and direct access, but nothing seems to work. Below are the details of what I've attempted:
Verified that ports 8501, 6080, and 8080 are exposed in Docker.
Ensured Streamlit is configured to allow connections:
I have tried everything standard like restarting containers, checking docker logs running the docker build locally, tweaking host ip and many other related ideas. Any help is welcome at this point @chrisgorgo @x5a
The text was updated successfully, but these errors were encountered: