So I'm trying to run a thing, and like I always do when I see something cool on youtube, I got into trouble. As you will see from the below, I know almost nothing about docker.
and then type docker compose up and goodness will ensue.
It doesn't work that way on my machines. I tried on a Fedora 36 machine (docker 20.10.21) and also on a Fedora 39 machine (docker 24.0.5) and in both cases:
# docker compose up
docker: 'compose' is not a docker command.
I also tried this, which is NOT what the guy on the video typed:
# docker-compose up
ERROR: The Compose file './compose.yml' is invalid because:
'name' does not match any of the regexes: '^x-'
You might be seeing this error because you're using the wrong Compose file version. Either specify a supported version (e.g "2.2" or "3.3") and place your service definitions under the `services` key, or omit the `version` key and place your service definitions at the root of the file to use version 1.
When he does it on the video, five different processes start up.
The git clone results in the following files being present:
├── compose.yml
├── config
│ ├── grafana
│ │ ├── dashboards
│ │ │ ├── main.yml
│ │ │ └── netprobe.json
│ │ └── datasources
│ │ └── automatic.yml
│ ├── __init__.py
│ ├── prometheus
│ │ └── prometheus.yml
│ └── redis
│ └── redis.conf
├── Dockerfile
├── entrypoint.sh
├── helpers
│ ├── http_helper.py
│ ├── input_helper.py
│ ├── logging_helper.py
│ ├── network_helper.py
│ ├── __pycache__
│ │ └── network_helper.cpython-312.pyc
│ └── redis_helper.py
├── logs
├── netprobe.py
├── presentation.py
├── README.md
└── requirements.txt
I should point out that both these machines are headless and one of them is virtual. I could attach a keyboard & mouse to the Fedora 39 machine and run some GUI management tool, but I don't know what. I seem to have Whaler on here, but it doesn't run- complains about not being root.