Docker

5 views
Skip to first unread message

hawk...@electricfish.com

unread,
Dec 16, 2025, 5:05:48 PM12/16/25
to solarmap-nz-tech
So I have gone through the Docker installation process and the initial examples. I'm now at the stage where I'm being encouraged to "Run Docker Hub images" and when I try to open our Docker file, I get the message:
 

The document “Dockerfile” could not be opened. Docker cannot open files in the “data” format.

Am I opening the wrong file?

Cameron Shorter

unread,
Dec 17, 2025, 2:02:05 PM12/17/25
to hawk...@electricfish.com, solarmap-nz-tech
Richard,
I haven't run Docker from a Mac. You might want to try running from the terminal, as per Usage instructions in the docker-compose.yml file:

# Usage:
# 1. Ensure Docker (20.10+) and Docker Compose (v2.0+) are installed on your system.
# 2. Navigate to the directory containing this file.
# 3. Run `docker compose up` to build and start the container.
# 4. Use `docker-compose down` to stop and remove the container.

--
You received this message because you are subscribed to the Google Groups "solarmap-nz-tech" group.
To unsubscribe from this group and stop receiving emails from it, send an email to solarmap-nz-te...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/solarmap-nz-tech/fa76c245-d115-4abe-bb12-a4ea013d8976n%40googlegroups.com.

Jenny Sahng

unread,
Jan 13, 2026, 4:14:34 PMJan 13
to Cameron Shorter, hawk...@electricfish.com, solarmap-nz-tech
I just updated the docs a little to be clearer (for Mac at least) and it Just Worked™️ for me, but would be good to see if it works on someone else's Mac as well. Here's my merged PR with some little updates to the docs.
https://github.com/rewiring-nz/solar-estimates/pull/77
I didn't see a bit about running docker hub images 🤔

hawk...@electricfish.com

unread,
Jan 13, 2026, 5:10:50 PMJan 13
to solarmap-nz-tech
I had a fair bit of success running on my MacBook. One small comment: you need to launch the Docker app or you will get a cryptic error message:

(rewiring) hawkfish@Richards-MacBook-Pro-7 solar-estimates % docker compose up pipeline

unable to get image 'solar-estimates-pipeline': Cannot connect to the Docker daemon at unix:///Users/hawkfish/.docker/run/docker.sock. Is the docker daemon running?

The docker run got a long way down the road, but eventually died with:

Attaching to nz_solar_pipeline

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 "/host_mnt/Users/hawkfish/Documents/Development/solar-estimates/LICENSE.txt" to rootfs at "/app/docs/license.md": create mountpoint for /app/docs/license.md mount: mountpoint "/run/host_virtiofs/Users/hawkfish/Documents/Development/solar-estimates/docs/license.md" is outside of rootfs "/var/lib/docker/rootfs/overlayfs/b3bfaf3add3f1c5e16e883164d51fdc49228b5c62fe64c100565995acf397974"


Not sure what to do next?

hawk...@electricfish.com

unread,
Jan 13, 2026, 5:12:59 PMJan 13
to solarmap-nz-tech
I bounced the docker run and that seemed to move it on:

(rewiring) hawkfish@Richards-MacBook-Pro-7 solar-estimates % docker compose down

[+] Running 2/2

 ✔ Container nz_solar_pipeline      Removed                                                                                                                                                                        0.0s 

 ✔ Network solar-estimates_default  Removed                                                                                                                                                                        0.2s 

(rewiring) hawkfish@Richards-MacBook-Pro-7 solar-estimates % docker compose up pipeline


Jenny Sahng

unread,
Jan 13, 2026, 10:11:00 PMJan 13
to hawk...@electricfish.com, solarmap-nz-tech
Ooh I have no idea what that second error response is about, but did the rest of the pipeline work after you bounced it?
And yeah you do have to start Docker Desktop (on Windows or Mac), that instruction was missing so I added that to the docs here.

Reply all
Reply to author
Forward
0 new messages