skip to Main Content

docker-compose does not create directory

I have the following docker-compose version: "3.9" services: foo: image: an_image volumes: - source: ./logs target: /tmp/data type: bind I am using 3.9 docker-compose syntax with 2.24 docker-compose library. Because of this bug I have to use the long syntax…

VIEW QUESTION

Docker volume to keep Loki config and data files

I'm beginner in docker, so I probably don't understand how it should work. I have loki container - here is part of docker-compose.yml: loki: image: grafana/loki:latest ports: - "3100:3100" volumes: - /loki:/docker_data/loki_data - /etc/loki:/docker_data/loki_config networks: - monitoring (...) networks: monitoring:…

VIEW QUESTION
Back To Top
Search