-
Notifications
You must be signed in to change notification settings - Fork 150
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
docker compose up gets to a point then fails:
vbetoglou@netflow:~$ sudo docker compose up
WARN[0000] /home/vbetoglou/docker-compose.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion
[+] Running 37/37
✔ prometheus Pulled 20.7s
✔ 9fa9226be034 Pull complete 2.2s
✔ 1617e25568b2 Pull complete 3.7s
✔ 9818abf4f966 Pull complete 10.2s
✔ 6e463c39e3fe Pull complete 14.3s
✔ a95abf182525 Pull complete 15.1s
✔ bd0d00e67847 Pull complete 15.5s
✔ 1008d9ab3b47 Pull complete 16.0s
✔ 4a3328469f0b Pull complete 16.5s
✔ 33efd2f692f0 Pull complete 17.1s
✔ 935db57dac66 Pull complete 17.6s
✔ db Pulled 17.0s
✔ da9db072f522 Pull complete 0.7s
✔ ada3d791b0ce Pull complete 0.9s
✔ d171ac6249fd Pull complete 1.1s
✔ e4122eb735c9 Pull complete 1.5s
✔ 798805564233 Pull complete 2.0s
✔ 5568ae7cdac0 Pull complete 2.8s
✔ 30e73028082f Pull complete 4.0s
✔ 55cb371436d8 Pull complete 10.4s
✔ 698ac0529016 Pull complete 14.5s
✔ kafka Pulled 16.7s
✔ 47fc3023dbf5 Pull complete 14.2s
✔ goflow2 Pulled 6.7s
✔ f18232174bc9 Pull complete 1.8s
✔ 496f0c5845db Pull complete 2.5s
✔ 7629c6d10a2e Pull complete 3.9s
✔ grafana Pulled 24.6s
✔ 895e193edb51 Pull complete 10.2s
✔ a3e3778621b5 Pull complete 14.3s
✔ e7cf2c69b927 Pull complete 15.4s
✔ df40c119df08 Pull complete 15.9s
✔ 3b29ea6a27af Pull complete 16.6s
✔ 3997cd619520 Pull complete 17.1s
✔ 7e759f975aac Pull complete 18.7s
✔ ff133072f235 Pull complete 22.2s
✔ f9a56094a361 Pull complete 22.4s
[+] Running 6/6
✔ Network vbetoglou_default Created 0.1s
✔ Container vbetoglou-prometheus-1 Created 1.1s
✔ Container vbetoglou-kafka-1 Created 1.1s
✔ Container vbetoglou-grafana-1 Created 1.2s
✔ Container vbetoglou-goflow2-1 Created 0.5s
✔ Container vbetoglou-db-1 Created 0.6s
Attaching to db-1, goflow2-1, grafana-1, kafka-1, prometheus-1
kafka-1 | kafka 07:21:51.43 INFO ==>
kafka-1 | kafka 07:21:51.43 INFO ==> Welcome to the Bitnami kafka container
kafka-1 | kafka 07:21:51.44 INFO ==> Subscribe to project updates by watching https://github.com/bitnami/containers
kafka-1 | kafka 07:21:51.44 INFO ==> Did you know there are enterprise versions of the Bitnami catalog? For enhanced secure software supply chain features, unlimited pulls from Docker, LTS support, or application customization, see Bitnami Premium or Tanzu Application Catalog. See https://www.arrow.com/globalecs/na/vendors/bitnami/ for more information.
kafka-1 | kafka 07:21:51.44 INFO ==>
kafka-1 | kafka 07:21:51.44 INFO ==> ** Starting Kafka setup **
kafka-1 | kafka 07:21:51.48 DEBUG ==> Validating settings in KAFKA_* env vars...
kafka-1 | kafka 07:21:51.50 WARN ==> Kafka has been configured with a PLAINTEXT listener, this setting is not recommended for production environments.
kafka-1 | kafka 07:21:51.51 INFO ==> Initializing Kafka...
kafka-1 | kafka 07:21:51.51 INFO ==> No injected configuration files found, creating default config files
kafka-1 | kafka 07:21:51.82 INFO ==> Initializing KRaft storage metadata
kafka-1 | kafka 07:21:51.82 INFO ==> Formatting storage directories to add metadata...
Gracefully stopping... (press Ctrl+C again to force)
Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/home/vbetoglou/prometheus/prometheus.yml" to rootfs at "/etc/prometheus/prometheus.yml": create mountpoint for /etc/prometheus/prometheus.yml mount: cannot create subdirectories in "/var/lib/docker/overlay2/3c7503a7d8f9786050e9c892a67e2b8814473554365b099264ea870d10e397f5/merged/etc/prometheus/prometheus.yml": not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type
To Reproduce
Steps to reproduce the behavior:
Downloaded the docker-compose.yaml file, installed docker using instructions from docker website (apt repository), when I try to run "docker compose up" or with "up -d" I get this error.
Expected behavior
I expect the installation to run successfully.
Captures
N/A
Sampler device:
N/A
GoFlow2:
N/A
Additional context
Running on Ubuntu server 24.02
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working