PC & IT SUPPORT MADE EASY FORUM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Using Docker

Go down

Using Docker Empty Using Docker

Post by jamied_uk 15th August 2024, 17:49

Using Docker

List Containers: First, you need to find the container ID or name of the container you want to remove. You can list all containers (including stopped ones) with:

Code:
sudo docker ps -a


This will show you a list of all containers with their IDs, names, and status.

Stop the Container (if running): If the container is currently running, you'll need to stop it before removing it. Use the sudo docker stop command followed by the container ID or name:


Code:
sudo docker stop <container_id_or_name>



Code:
sudo docker stop 40a2b4f8d2f1


Remove the Container: Once the container is stopped, you can remove it with the sudo docker rm command:



Code:
sudo docker rm <container_id_or_name>



sudo docker rm 40a2b4f8d2f1


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

ollama web ui docker setup command


Code:
sudo docker run -d -p 3000:8080 -v ollama:/root/.ollama -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:ollama




https://github.com/open-webui/open-webui
jamied_uk
jamied_uk
Admin

Posts : 3053
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum