0
I started a service on Docker with the image of the db icon, follow Docker:
version: "3.1"
services:
  mongo:
    image: 'mongo'
    container_name: mongoapp
    restart: always
    image: mongo
    volumes:
      - ./data/db:/data/db
    ports:
      - "27017:27017"
It worked perfectly, every time I start Ocker the container is there. But this container doesn’t matter anymore and I want to disable/ delete/ remove/ kill it, and no matter how many times you delete it or delete your image Docker goes up the service again. How to remove this container?