Based on the image name you provided, imvickykumar999/adk-web:latest, here are the commands to pull and run the Docker image.
To download the image from Docker Hub to your local machine, use the docker pull command.
docker pull imvickykumar999/adk-web:latest
This command fetches the image and all its layers, storing them locally.
Once the image is downloaded, you can run the container with the docker run command.
docker run -d -p 5000:5000 -v "$(pwd)"/sessions.db:/app/sessions.db imvickykumar999/adk-web:latest
-d: Runs the container in detached mode (in the background).-p 5000:5000: Maps port 5000 on your host machine to port 5000 inside the container.-v "$(pwd)"/sessions.db:/app/sessions.db: Mounts a local file named sessions.db to the container's working directory. This is crucial for data persistence, ensuring your session data isn't lost when the container is stopped.After running this command, you can access the server by navigating to http://localhost:5000 in your web browser.
Content type
Image
Digest
sha256:2f2fe0aa2…
Size
248.3 MB
Last updated
about 1 year ago
docker pull imvickykumar999/adk-web