Skip to content
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

Confusion About API Running Without Local Docker Containers and Debugging #1711

Open
MeharRamzan opened this issue Jan 6, 2025 · 2 comments

Comments

@MeharRamzan
Copy link

I followed the instructions from (https://docs.phidata.com/templates/agent-api/run-local) and ran the commands provided. Everything is working fine, but I am confused about something. When I use the command phi ws up, it pulls a Docker image from the Phidata Docker Hub and starts the API. However, I don’t see any Docker images or containers running on my local system, yet the API is still working. Can you explain how this is happening? Also, how can I debug the API?

@manthanguptaa
Copy link
Contributor

@MeharRamzan you don't see the containers running on your docker UI?

Also, you can go inside agent-api > api folder to see the API code and debug

@MeharRamzan
Copy link
Author

@manthanguptaa
I have set the build_images argument to true to build the image locally, and I can see the image in Docker Desktop. The container is running, and the API is up, but I can't see any container in Docker Desktop. You can see this in the pictures.

image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants